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