30 references to PT_INT
Microsoft.CSharp (30)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (1)
754if (fIntPtrOverride2 && (typeTo.IsPredefType(PredefinedType.PT_INT) || typeTo.IsPredefType(PredefinedType.PT_UINT)))
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (3)
305CType pIntType = GetPredefindType(PredefinedType.PT_INT); 1280PredefinedType.PT_INT, 1308return GetPredefindType(PredefinedType.PT_INT);
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
143CreateConstant(TypeManager.GetPredefAgg(PredefinedType.PT_INT).getThisType(), ConstVal.Get(x));
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (1)
691((ptSrc == PredefinedType.PT_INT && ptDest != PredefinedType.PT_BOOL && ptDest != PredefinedType.PT_CHAR) ||
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (19)
85new BinOpSig (PredefinedType.PT_INT, PredefinedType.PT_INT, BinOpMask.Integer, 8, BindIntBinOp, OpSigFlags.Value, BinOpFuncKind.IntBinOp ), 100new BinOpSig (PredefinedType.PT_INT, PredefinedType.PT_INT, BinOpMask.Shift, 3, BindShiftOp, OpSigFlags.Value, BinOpFuncKind.ShiftOp ), 101new BinOpSig (PredefinedType.PT_UINT, PredefinedType.PT_INT, BinOpMask.Shift, 2, BindShiftOp, OpSigFlags.Value, BinOpFuncKind.ShiftOp ), 102new BinOpSig (PredefinedType.PT_LONG, PredefinedType.PT_INT, BinOpMask.Shift, 1, BindShiftOp, OpSigFlags.Value, BinOpFuncKind.ShiftOp ), 103new BinOpSig (PredefinedType.PT_ULONG, PredefinedType.PT_INT, BinOpMask.Shift, 0, BindShiftOp, OpSigFlags.Value, BinOpFuncKind.ShiftOp ), 118new UnaOpSig( PredefinedType.PT_INT, UnaOpMask.Signed, 7, BindIntUnaOp, UnaOpFuncKind.IntUnaOp ), 128new UnaOpSig( PredefinedType.PT_INT, UnaOpMask.IncDec, 6, null, UnaOpFuncKind.None ), 1170_ => PredefinedType.PT_INT, // Promote all smaller types to int. 1638type = GetPredefindType(PredefinedType.PT_INT); 1664type = GetPredefindType(PredefinedType.PT_INT); 1841Debug.Assert(arg2.Type.IsPredefType(PredefinedType.PT_INT)); 1844Debug.Assert(ptOp == PredefinedType.PT_INT || ptOp == PredefinedType.PT_UINT || ptOp == PredefinedType.PT_LONG || ptOp == PredefinedType.PT_ULONG); 2021_ => PredefinedType.PT_INT, // Promote all smaller types to int. 2062_ => PredefinedType.PT_INT, // Promote all smaller types to int. 2098_ => PredefinedType.PT_INT, // Promote all smaller types to int. 2190Debug.Assert(ptOp == PredefinedType.PT_INT || ptOp == PredefinedType.PT_UINT || ptOp == PredefinedType.PT_LONG || ptOp == PredefinedType.PT_ULONG); 2244Debug.Assert(ptOp == PredefinedType.PT_INT || ptOp == PredefinedType.PT_UINT || ptOp == PredefinedType.PT_LONG || ptOp == PredefinedType.PT_ULONG);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (1)
857CType intType = SymbolLoader.GetPredefindType(PredefinedType.PT_INT);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (3)
63case PredefinedType.PT_INT: 83PredefinedType.PT_INT => "int", 130new PredefinedTypeInfo(PredefinedType.PT_INT, typeof(int), "System.Int32", FUNDTYPE.FT_I4),
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
1527cvType = SymbolLoader.GetPredefindType(PredefinedType.PT_INT);