1 write to s_typeIdToTypeCodeMap
Microsoft.CodeAnalysis (1)
SpecialTypes.cs (1)
99
s_typeIdToTypeCodeMap
= new Microsoft.Cci.PrimitiveTypeCode[(int)SpecialType.Count + 1];
19 references to s_typeIdToTypeCodeMap
Microsoft.CodeAnalysis (19)
SpecialTypes.cs (19)
101
for (i = 0; i <
s_typeIdToTypeCodeMap
.Length; i++)
103
s_typeIdToTypeCodeMap
[i] = Microsoft.Cci.PrimitiveTypeCode.NotPrimitive;
106
s_typeIdToTypeCodeMap
[(int)SpecialType.System_Boolean] = Microsoft.Cci.PrimitiveTypeCode.Boolean;
107
s_typeIdToTypeCodeMap
[(int)SpecialType.System_Char] = Microsoft.Cci.PrimitiveTypeCode.Char;
108
s_typeIdToTypeCodeMap
[(int)SpecialType.System_Void] = Microsoft.Cci.PrimitiveTypeCode.Void;
109
s_typeIdToTypeCodeMap
[(int)SpecialType.System_String] = Microsoft.Cci.PrimitiveTypeCode.String;
110
s_typeIdToTypeCodeMap
[(int)SpecialType.System_Int64] = Microsoft.Cci.PrimitiveTypeCode.Int64;
111
s_typeIdToTypeCodeMap
[(int)SpecialType.System_Int32] = Microsoft.Cci.PrimitiveTypeCode.Int32;
112
s_typeIdToTypeCodeMap
[(int)SpecialType.System_Int16] = Microsoft.Cci.PrimitiveTypeCode.Int16;
113
s_typeIdToTypeCodeMap
[(int)SpecialType.System_SByte] = Microsoft.Cci.PrimitiveTypeCode.Int8;
114
s_typeIdToTypeCodeMap
[(int)SpecialType.System_UInt64] = Microsoft.Cci.PrimitiveTypeCode.UInt64;
115
s_typeIdToTypeCodeMap
[(int)SpecialType.System_UInt32] = Microsoft.Cci.PrimitiveTypeCode.UInt32;
116
s_typeIdToTypeCodeMap
[(int)SpecialType.System_UInt16] = Microsoft.Cci.PrimitiveTypeCode.UInt16;
117
s_typeIdToTypeCodeMap
[(int)SpecialType.System_Byte] = Microsoft.Cci.PrimitiveTypeCode.UInt8;
118
s_typeIdToTypeCodeMap
[(int)SpecialType.System_Single] = Microsoft.Cci.PrimitiveTypeCode.Float32;
119
s_typeIdToTypeCodeMap
[(int)SpecialType.System_Double] = Microsoft.Cci.PrimitiveTypeCode.Float64;
120
s_typeIdToTypeCodeMap
[(int)SpecialType.System_IntPtr] = Microsoft.Cci.PrimitiveTypeCode.IntPtr;
121
s_typeIdToTypeCodeMap
[(int)SpecialType.System_UIntPtr] = Microsoft.Cci.PrimitiveTypeCode.UIntPtr;
175
return
s_typeIdToTypeCodeMap
[(int)typeId];