Exception on MakeGenericMethod
called on a static interface method from GetInterfaceMap
's TargetMethods
for a default interface implementation
#90863
Labels
Milestone
Description
When you have a generic interface
I2<S>
, providing a default interface implementation for a generic methodvoid G<T>()
on a generic interfaceI1<S>
, and you have a classC2Implicit<S>
which implementsI2<S>
implicitly, and then you callGetInterfaceMap
on a specific generic instantiation of these (e.g., I1 andC2Implicit<string>
), the the target method forvoid I1<S>.G<T>()
is invalid.Reproduction Steps
Expected behavior
Prints:
Actual behavior
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
Follow up to #90351 (comment) and #90518 (comment)
The text was updated successfully, but these errors were encountered: