3 implementations of GetUnderlyingEnumType
Microsoft.Cci.Extensions (1)
Extensions\CustomAttributeProvider.cs (1)
97public SRPrimitiveTypeCode GetUnderlyingEnumType(string type) => default; // We only use this for compiler attributes that take a primitive type as a parameter.
Microsoft.DotNet.SignTool (1)
src\Configuration.cs (1)
647public PrimitiveTypeCode GetUnderlyingEnumType(object type) => default;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.TypeProvider.cs (1)
65public PrimitiveTypeCode GetUnderlyingEnumType(RoType type) => type.GetEnumUnderlyingPrimitiveTypeCode(Loader);
2 references to GetUnderlyingEnumType
System.Reflection.Metadata (2)
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (2)
197info.TypeCode = _provider.IsSystemType(info.Type) ? SerializationTypeCode.Type : (SerializationTypeCode)_provider.GetUnderlyingEnumType(info.Type); 290info.TypeCode = (SerializationTypeCode)_provider.GetUnderlyingEnumType(info.Type);