Base:
4 overrides of GetGenericMethodDefinition
System.Reflection.MetadataLoadContext (4)
System\Reflection\TypeLoading\General\Sentinels.cs (1)
37
public sealed override MethodInfo
GetGenericMethodDefinition
() => throw null!;
System\Reflection\TypeLoading\Methods\RoConstructedGenericMethod.cs (1)
49
public sealed override MethodInfo
GetGenericMethodDefinition
() => _genericMethodDefinition;
System\Reflection\TypeLoading\Methods\RoDefinitionMethod.cs (1)
98
public sealed override MethodInfo
GetGenericMethodDefinition
() => IsGenericMethodDefinition ? this : throw new InvalidOperationException(); // Very uninformative but compatible exception
System\Reflection\TypeLoading\Methods\RoSyntheticMethod.cs (1)
86
public sealed override MethodInfo
GetGenericMethodDefinition
() => throw new InvalidOperationException();