1 write to _value
Microsoft.CodeAnalysis (1)
ExtendedSpecialType.cs (1)
22
_value
= (sbyte)value;
13 references to _value
Microsoft.CodeAnalysis (13)
ExtendedSpecialType.cs (13)
26
public static explicit operator SpecialType(ExtendedSpecialType value) => value.
_value
< (int)InternalSpecialType.First ? (SpecialType)value.
_value
: SpecialType.None;
31
public static explicit operator int(ExtendedSpecialType value) => value.
_value
;
33
public static bool operator ==(ExtendedSpecialType left, ExtendedSpecialType right) => left.
_value
== right.
_value
;
56
return
_value
.GetHashCode();
61
if (
_value
> (int)SpecialType.None &&
_value
<= (int)SpecialType.Count)
63
return ((SpecialType)
_value
).ToString();
66
if (
_value
>= (int)InternalSpecialType.First &&
_value
< (int)InternalSpecialType.NextAvailable)
68
return ((InternalSpecialType)
_value
).ToString();
71
return
_value
.ToString();