Base:
3 references to IsGenericMethod
System.Reflection.Emit (3)
System\Reflection\Emit\MethodBuilderImpl.cs (3)
113
private void ThrowIfGeneric() { if (
IsGenericMethod
&& !IsGenericMethodDefinition) throw new InvalidOperationException(); }
150
if (
IsGenericMethod
&& !IsGenericMethodDefinition)
281
public override MethodInfo GetGenericMethodDefinition() => !
IsGenericMethod
? throw new InvalidOperationException() : this;