5 references to Arg_NotGenericTypeDefinition
System.Reflection.MetadataLoadContext (5)
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
126
public sealed override Type MakeGenericType(params Type[] typeArguments) => throw new InvalidOperationException(SR.Format(SR.
Arg_NotGenericTypeDefinition
, this));
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
95
throw new InvalidOperationException(SR.Format(SR.
Arg_NotGenericTypeDefinition
, this));
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
188
public sealed override Type MakeGenericType(params Type[] typeArguments) => throw new InvalidOperationException(SR.Format(SR.
Arg_NotGenericTypeDefinition
, this));
System\Reflection\TypeLoading\Types\RoGenericParameterType.cs (1)
49
public sealed override Type MakeGenericType(params Type[] typeArguments) => throw new InvalidOperationException(SR.Format(SR.
Arg_NotGenericTypeDefinition
, this));
System\Reflection\TypeLoading\Types\RoHasElementType.cs (1)
67
public sealed override Type MakeGenericType(params Type[] typeArguments) => throw new InvalidOperationException(SR.Format(SR.
Arg_NotGenericTypeDefinition
, this));