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