4 references to InvalidOperation_NotGenericType
System.Reflection.MetadataLoadContext (4)
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
81public sealed override Type GetGenericTypeDefinition() => IsGenericTypeDefinition ? this : throw new InvalidOperationException(SR.InvalidOperation_NotGenericType);
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
183public sealed override Type GetGenericTypeDefinition() => throw new InvalidOperationException(SR.InvalidOperation_NotGenericType);
System\Reflection\TypeLoading\Types\RoGenericParameterType.cs (1)
44public sealed override Type GetGenericTypeDefinition() => throw new InvalidOperationException(SR.InvalidOperation_NotGenericType);
System\Reflection\TypeLoading\Types\RoHasElementType.cs (1)
62public sealed override Type GetGenericTypeDefinition() => throw new InvalidOperationException(SR.InvalidOperation_NotGenericType);