Base:
7 overrides of GetGenericTypeDefinition
System.Reflection.MetadataLoadContext (7)
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
120
public sealed override Type
GetGenericTypeDefinition
() => _genericTypeDefinition;
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
81
public sealed override Type
GetGenericTypeDefinition
() => IsGenericTypeDefinition ? this : throw new InvalidOperationException(SR.InvalidOperation_NotGenericType);
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
183
public sealed override Type
GetGenericTypeDefinition
() => throw new InvalidOperationException(SR.InvalidOperation_NotGenericType);
System\Reflection\TypeLoading\Types\RoGenericParameterType.cs (1)
44
public sealed override Type
GetGenericTypeDefinition
() => throw new InvalidOperationException(SR.InvalidOperation_NotGenericType);
System\Reflection\TypeLoading\Types\RoHasElementType.cs (1)
62
public sealed override Type
GetGenericTypeDefinition
() => throw new InvalidOperationException(SR.InvalidOperation_NotGenericType);
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
169
public override Type
GetGenericTypeDefinition
() => throw new NotSupportedException(SR.NotSupported_ModifiedType);
System\Reflection\TypeLoading\Types\RoStubType.cs (1)
56
public sealed override Type
GetGenericTypeDefinition
() => throw null!;