35 references to InternalSpecialType
Microsoft.CodeAnalysis (34)
ExtendedSpecialType.cs (7)
11
/// A structure meant to represent a union of <see cref="SpecialType"/> and <see cref="
InternalSpecialType
"/> values
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);
46
case
InternalSpecialType
other:
66
if (_value >= (int)
InternalSpecialType
.First && _value < (int)
InternalSpecialType
.NextAvailable)
68
return ((
InternalSpecialType
)_value).ToString();
MemberDescriptor.cs (2)
50
public bool IsSpecialTypeMember => _declaringTypeId < (int)
InternalSpecialType
.NextAvailable;
56
Debug.Assert(_declaringTypeId < (int)
InternalSpecialType
.NextAvailable);
SpecialMembers.cs (22)
106
(byte)SignatureTypeCode.GenericTypeInstance, (byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_ReadOnlySpan_T,
109
(byte)SignatureTypeCode.GenericTypeInstance, (byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_ReadOnlySpan_T,
119
(byte)SignatureTypeCode.GenericTypeInstance, (byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_ReadOnlySpan_T,
122
(byte)SignatureTypeCode.GenericTypeInstance, (byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_ReadOnlySpan_T,
125
(byte)SignatureTypeCode.GenericTypeInstance, (byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_ReadOnlySpan_T,
135
(byte)SignatureTypeCode.GenericTypeInstance, (byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_ReadOnlySpan_T,
138
(byte)SignatureTypeCode.GenericTypeInstance, (byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_ReadOnlySpan_T,
141
(byte)SignatureTypeCode.GenericTypeInstance, (byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_ReadOnlySpan_T,
144
(byte)SignatureTypeCode.GenericTypeInstance, (byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_ReadOnlySpan_T,
196
(byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_IFormatProvider,
214
(byte)SignatureTypeCode.GenericTypeInstance, (byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_ReadOnlySpan_T,
277
(byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_Type,
279
(byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_Reflection_MethodInfo,
287
(byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_Type,
289
(byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_Reflection_MethodInfo,
1161
(byte)
InternalSpecialType
.System_ReadOnlySpan_T, // DeclaringTypeId
1271
(byte)
InternalSpecialType
.System_Reflection_MethodBase, // DeclaringTypeId
1274
(byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_Reflection_MethodBase, // Return Type
1279
(byte)
InternalSpecialType
.System_Reflection_MethodBase, // DeclaringTypeId
1282
(byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_Reflection_MethodBase, // Return Type
1311
(byte)
InternalSpecialType
.System_Type, // DeclaringTypeId
1314
(byte)SignatureTypeCode.TypeHandle, (byte)
InternalSpecialType
.System_Type, // Return Type
SpecialTypes.cs (2)
19
private static readonly string?[] s_emittedNames = new string?[(int)
InternalSpecialType
.NextAvailable]
87
s_nameToTypeIdMap = new Dictionary<string, ExtendedSpecialType>((int)
InternalSpecialType
.NextAvailable - 1);
WellKnownTypes.cs (1)
21
First =
InternalSpecialType
.NextAvailable,
Microsoft.CodeAnalysis.CSharp (1)
Symbols\MissingMetadataTypeSymbol.cs (1)
149
/// Either <see cref="SpecialType"/>, <see cref="
InternalSpecialType
"/>, <see cref="WellKnownType"/>, or -1 if not initialized.