30 references to PT_INT
Microsoft.CSharp (30)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (1)
781if (fIntPtrOverride2 && (typeTo.IsPredefType(PredefinedType.PT_INT) || typeTo.IsPredefType(PredefinedType.PT_UINT)))
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (3)
309CType pIntType = GetPredefindType(PredefinedType.PT_INT); 1305PredefinedType.PT_INT, 1334return GetPredefindType(PredefinedType.PT_INT);
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
161CreateConstant(TypeManager.GetPredefAgg(PredefinedType.PT_INT).getThisType(), ConstVal.Get(x));
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (1)
694((ptSrc == PredefinedType.PT_INT && ptDest != PredefinedType.PT_BOOL && ptDest != PredefinedType.PT_CHAR) ||
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (19)
89new BinOpSig (PredefinedType.PT_INT, PredefinedType.PT_INT, BinOpMask.Integer, 8, BindIntBinOp, OpSigFlags.Value, BinOpFuncKind.IntBinOp ), 104new BinOpSig (PredefinedType.PT_INT, PredefinedType.PT_INT, BinOpMask.Shift, 3, BindShiftOp, OpSigFlags.Value, BinOpFuncKind.ShiftOp ), 105new BinOpSig (PredefinedType.PT_UINT, PredefinedType.PT_INT, BinOpMask.Shift, 2, BindShiftOp, OpSigFlags.Value, BinOpFuncKind.ShiftOp ), 106new BinOpSig (PredefinedType.PT_LONG, PredefinedType.PT_INT, BinOpMask.Shift, 1, BindShiftOp, OpSigFlags.Value, BinOpFuncKind.ShiftOp ), 107new BinOpSig (PredefinedType.PT_ULONG, PredefinedType.PT_INT, BinOpMask.Shift, 0, BindShiftOp, OpSigFlags.Value, BinOpFuncKind.ShiftOp ), 126new UnaOpSig( PredefinedType.PT_INT, UnaOpMask.Signed, 7, BindIntUnaOp, UnaOpFuncKind.IntUnaOp ), 136new UnaOpSig( PredefinedType.PT_INT, UnaOpMask.IncDec, 6, null, UnaOpFuncKind.None ), 1195_ => PredefinedType.PT_INT, // Promote all smaller types to int. 1673type = GetPredefindType(PredefinedType.PT_INT); 1699type = GetPredefindType(PredefinedType.PT_INT); 1883Debug.Assert(arg2.Type.IsPredefType(PredefinedType.PT_INT)); 1886Debug.Assert(ptOp == PredefinedType.PT_INT || ptOp == PredefinedType.PT_UINT || ptOp == PredefinedType.PT_LONG || ptOp == PredefinedType.PT_ULONG); 2070_ => PredefinedType.PT_INT, // Promote all smaller types to int. 2112_ => PredefinedType.PT_INT, // Promote all smaller types to int. 2149_ => PredefinedType.PT_INT, // Promote all smaller types to int. 2242Debug.Assert(ptOp == PredefinedType.PT_INT || ptOp == PredefinedType.PT_UINT || ptOp == PredefinedType.PT_LONG || ptOp == PredefinedType.PT_ULONG); 2297Debug.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)
858CType intType = SymbolLoader.GetPredefindType(PredefinedType.PT_INT);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (3)
65case PredefinedType.PT_INT: 85PredefinedType.PT_INT => "int", 132new PredefinedTypeInfo(PredefinedType.PT_INT, typeof(int), "System.Int32", FUNDTYPE.FT_I4),
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
1556cvType = SymbolLoader.GetPredefindType(PredefinedType.PT_INT);