3 implementations of GetUnderlyingEnumType
Microsoft.Cci.Extensions (1)
Extensions\CustomAttributeProvider.cs (1)
97
public 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)
667
public PrimitiveTypeCode
GetUnderlyingEnumType
(object type) => default;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.TypeProvider.cs (1)
65
public PrimitiveTypeCode
GetUnderlyingEnumType
(RoType type) => type.GetEnumUnderlyingPrimitiveTypeCode(Loader);
2 references to GetUnderlyingEnumType
System.Reflection.Metadata (2)
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (2)
197
info.TypeCode = _provider.IsSystemType(info.Type) ? SerializationTypeCode.Type : (SerializationTypeCode)_provider.
GetUnderlyingEnumType
(info.Type);
290
info.TypeCode = (SerializationTypeCode)_provider.
GetUnderlyingEnumType
(info.Type);