Base:
8 overrides of IsGenericTypeDefinition
System.Reflection.MetadataLoadContext (8)
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (1)
79
public sealed override bool
IsGenericTypeDefinition
=> GetGenericParameterCount() != 0;
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
31
public sealed override bool
IsGenericTypeDefinition
=> false;
System\Reflection\TypeLoading\Types\RoExceptionType.cs (1)
27
public sealed override bool
IsGenericTypeDefinition
=> throw null!;
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
139
public sealed override bool
IsGenericTypeDefinition
=> false;
System\Reflection\TypeLoading\Types\RoGenericParameterType.cs (1)
21
public sealed override bool
IsGenericTypeDefinition
=> false;
System\Reflection\TypeLoading\Types\RoHasElementType.cs (1)
27
public sealed override bool
IsGenericTypeDefinition
=> false;
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
124
public override bool
IsGenericTypeDefinition
=> _unmodifiedType.IsGenericTypeDefinition;
System\Reflection\TypeLoading\Types\RoStubType.cs (1)
17
public sealed override bool
IsGenericTypeDefinition
=> throw null!;
6 references to IsGenericTypeDefinition
System.Reflection.MetadataLoadContext (6)
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (1)
195
if (typeContext.GenericTypeArguments != null && declaringType.
IsGenericTypeDefinition
)
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (3)
34
public sealed override bool ContainsGenericParameters =>
IsGenericTypeDefinition
;
81
public sealed override Type GetGenericTypeDefinition() =>
IsGenericTypeDefinition
? this : throw new InvalidOperationException(SR.InvalidOperation_NotGenericType);
95
if (!
IsGenericTypeDefinition
)
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
124
public override bool IsGenericTypeDefinition => _unmodifiedType.
IsGenericTypeDefinition
;
System\Reflection\TypeLoading\Types\RoType.cs (1)
100
public sealed override bool IsGenericType => IsConstructedGenericType ||
IsGenericTypeDefinition
;