You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using Shimterface via .NET 6 causes failures with the "generic constructor" usage.
Reproducible Example
Change Shimterface.Standard.Tests to dotnet6.0 and run them.
The 3 generic constructor tests fail.
Expected behavior
All tests pass.
Screenshots / Outputs
Test method Shimterface.Tests.GenericConstructorTests.Can_shim_to_constructor_with_multiple_args threw exception:
System.InvalidProgramException: Common Language Runtime detected an invalid program.
Environment (please complete the following information):
Version: 1.6.6
Platform: Library is netstandard2.1 but tests are dotnet6.0
Additional context
Changing library to dotnet6.0 does not solve the problem.
Describe the bug
Using Shimterface via .NET 6 causes failures with the "generic constructor" usage.
Reproducible Example
Change Shimterface.Standard.Tests to
dotnet6.0
and run them.The 3 generic constructor tests fail.
Expected behavior
All tests pass.
Screenshots / Outputs
Environment (please complete the following information):
Additional context
Changing library to dotnet6.0 does not solve the problem.
Seems to be a regression of #14
The text was updated successfully, but these errors were encountered: