8 overrides of ComputeEnumUnderlyingType
System.Reflection.MetadataLoadContext (8)
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (1)
100protected internal sealed override RoType ComputeEnumUnderlyingType()
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
130protected internal sealed override RoType ComputeEnumUnderlyingType() => _genericTypeDefinition.ComputeEnumUnderlyingType(); // Easy to forget that generic enums do exist!
System\Reflection\TypeLoading\Types\RoExceptionType.cs (1)
40protected internal sealed override RoType ComputeEnumUnderlyingType() => throw null!;
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
196protected internal sealed override RoType ComputeEnumUnderlyingType() => throw new ArgumentException(SR.Arg_MustBeEnum);
System\Reflection\TypeLoading\Types\RoGenericParameterType.cs (1)
64protected internal sealed override RoType ComputeEnumUnderlyingType() => throw new ArgumentException(SR.Arg_MustBeEnum);
System\Reflection\TypeLoading\Types\RoHasElementType.cs (1)
77protected internal sealed override RoType ComputeEnumUnderlyingType() => throw new ArgumentException(SR.Arg_MustBeEnum);
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
186protected internal override RoType ComputeEnumUnderlyingType() => throw new NotSupportedException(SR.NotSupported_ModifiedType);
System\Reflection\TypeLoading\Types\RoStubType.cs (1)
71protected internal sealed override RoType ComputeEnumUnderlyingType() => throw null!;
2 references to ComputeEnumUnderlyingType
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
130protected internal sealed override RoType ComputeEnumUnderlyingType() => _genericTypeDefinition.ComputeEnumUnderlyingType(); // Easy to forget that generic enums do exist!
System\Reflection\TypeLoading\Types\RoType.cs (1)
329public sealed override Type GetEnumUnderlyingType() => _lazyUnderlyingEnumType ??= ComputeEnumUnderlyingType();