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