3 instantiations of ExtendedSpecialType
Microsoft.CodeAnalysis (3)
ExtendedSpecialType.cs (3)
25public static implicit operator ExtendedSpecialType(SpecialType value) => new ExtendedSpecialType((int)value); 28public static implicit operator ExtendedSpecialType(InternalSpecialType value) => new ExtendedSpecialType((int)value); 30public static explicit operator ExtendedSpecialType(int value) => new ExtendedSpecialType(value);
20 references to ExtendedSpecialType
Microsoft.CodeAnalysis (20)
Compilation\Compilation.cs (2)
3720internal void MakeTypeMissing(ExtendedSpecialType type) 3740internal bool IsTypeMissing(ExtendedSpecialType type)
ExtendedSpecialType.cs (10)
25public static implicit operator ExtendedSpecialType(SpecialType value) => new ExtendedSpecialType((int)value); 26public static explicit operator SpecialType(ExtendedSpecialType value) => value._value < (int)InternalSpecialType.First ? (SpecialType)value._value : SpecialType.None; 28public static implicit operator ExtendedSpecialType(InternalSpecialType value) => new ExtendedSpecialType((int)value); 30public static explicit operator ExtendedSpecialType(int value) => new ExtendedSpecialType(value); 31public static explicit operator int(ExtendedSpecialType value) => value._value; 33public static bool operator ==(ExtendedSpecialType left, ExtendedSpecialType right) => left._value == right._value; 34public static bool operator !=(ExtendedSpecialType left, ExtendedSpecialType right) => !(left == right); 40case ExtendedSpecialType other:
MemberDescriptor.cs (2)
52public ExtendedSpecialType DeclaringSpecialType 57return (ExtendedSpecialType)_declaringTypeId;
SpecialTypes.cs (6)
80private static readonly Dictionary<string, ExtendedSpecialType> s_nameToTypeIdMap; 87s_nameToTypeIdMap = new Dictionary<string, ExtendedSpecialType>((int)InternalSpecialType.NextAvailable - 1); 96s_nameToTypeIdMap.Add(name, (ExtendedSpecialType)i); 151public static string? GetMetadataName(this ExtendedSpecialType id) 156public static ExtendedSpecialType GetTypeFromMetadataName(string metadataName) 158ExtendedSpecialType id;