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