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