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