Base:
7 overrides of GetGenericTypeDefinition
System.Reflection.MetadataLoadContext (7)
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
120public sealed override Type GetGenericTypeDefinition() => _genericTypeDefinition;
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);
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
169public override Type GetGenericTypeDefinition() => throw new NotSupportedException(SR.NotSupported_ModifiedType);
System\Reflection\TypeLoading\Types\RoStubType.cs (1)
56public sealed override Type GetGenericTypeDefinition() => throw null!;