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
{{ message }}
Repository navigation
VerificationException static virtual interface methods, and generic constraints #78865
I found code that throws a VerificationException for static virtual interface methods, and generic constraints, similar to this issue #73658 but without reflection.
Unhandled exception. System.Security.VerificationException: Method StaticInterfaceBug.IStaticInterface`2[System.Object,StaticInterfaceBug.Request].StaticInterfaceBug.IStaticInterfaceBase<T,TRequest>.TryInvoke: type argument 'TItem' violates the constraint of type parameter 'TItem'.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
Reacted by Joe4evr and xparadoxical
Activity
ghost added
untriagedNew issue has not been triaged by the area owner
Activity
Joe4evr commentedon Nov 26, 2022
@trylek Could this have the same underlying cause as the other issue?
mangod9 commentedon Mar 22, 2023
@davidwrighton @trylek as fyi.
Add support for default implementation of static virtuals with method…