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
Implement a generic interface with at least one generic type parameter, and...
Add two generic overloads to that interface, where the type parameter constraint on the method's generic type parameter references the parent interface's generic type parameter, and...
One of the overloads provides a default implementation...
...then when I try to call the interface's overload that provides the default implementation with a type parameter that satisfies all constraint, the compiler thinks it's fine, but the run-time throws a System.Security.VerificationException at the point of invoking the interface method.
I've bumped into a strange issue that when I..
...then when I try to call the interface's overload that provides the default implementation with a type parameter that satisfies all constraint, the compiler thinks it's fine, but the run-time throws a System.Security.VerificationException at the point of invoking the interface method.
For more explanation and a way to reproduce this error, see my question on StackOverflow.
The text was updated successfully, but these errors were encountered: