15 references to PT_COUNT
Microsoft.CSharp (15)
Microsoft\CSharp\RuntimeBinder\Semantics\BinOpArgInfo.cs (4)
23
pt1 = type1.IsPredefined ? type1.PredefinedType : PredefinedType.
PT_COUNT
;
24
pt2 = type2.IsPredefined ? type2.PredefinedType : PredefinedType.
PT_COUNT
;
25
ptRaw1 = typeRaw1.IsPredefined ? typeRaw1.PredefinedType : PredefinedType.
PT_COUNT
;
26
ptRaw2 = typeRaw2.IsPredefined ? typeRaw2.PredefinedType : PredefinedType.
PT_COUNT
;
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (4)
138
if (ptSrc == ptDst || ptDst == PredefinedType.PT_OBJECT && ptSrc < PredefinedType.
PT_COUNT
)
142
if (ptSrc == PredefinedType.PT_OBJECT && ptDst < PredefinedType.
PT_COUNT
)
278
if (pt2 == PredefinedType.PT_OBJECT && pt1 < PredefinedType.
PT_COUNT
)
282
if (pt1 == PredefinedType.PT_OBJECT && pt2 < PredefinedType.
PT_COUNT
)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (3)
1305
PredefinedType ptRaw = pRawType.IsPredefined ? pRawType.PredefinedType : PredefinedType.
PT_COUNT
;
1400
PredefinedType pt = pArgumentType.IsPredefined ? pArgumentType.PredefinedType : PredefinedType.
PT_COUNT
;
1401
PredefinedType ptRaw = pRawType.IsPredefined ? pRawType.PredefinedType : PredefinedType.
PT_COUNT
;
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (1)
253
Debug.Assert(current >= 0 && (int)current < (int)PredefinedType.
PT_COUNT
);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (3)
14
private static readonly AggregateSymbol[] s_predefSymbols = new AggregateSymbol[(int)PredefinedType.
PT_COUNT
];
183
var typesByName = new Dictionary<string, PredefinedType>((int)PredefinedType.
PT_COUNT
);
184
for (int i = 0; i < (int)PredefinedType.
PT_COUNT
; i++)