53 references to Int
Microsoft.CodeAnalysis.CSharp (53)
Binder\Binder_Patterns.cs (5)
1700SpecialType.System_SByte => BinaryOperatorKind.Int, // operands are converted to int 1701SpecialType.System_Byte => BinaryOperatorKind.Int, // operands are converted to int 1702SpecialType.System_UInt16 => BinaryOperatorKind.Int, // operands are converted to int 1703SpecialType.System_Int16 => BinaryOperatorKind.Int, // operands are converted to int 1704SpecialType.System_Int32 => BinaryOperatorKind.Int,
Binder\Semantics\Operators\BinaryOperatorEasyOut.cs (2)
19private const BinaryOperatorKind INT = BinaryOperatorKind.Int; 29private const BinaryOperatorKind LIN = BinaryOperatorKind.Lifted | BinaryOperatorKind.Int;
Binder\Semantics\Operators\OperatorKind.cs (34)
355IntMultiplication = Int | Multiplication, 365LiftedIntMultiplication = Lifted | Int | Multiplication, 377IntDivision = Int | Division, 387LiftedIntDivision = Lifted | Int | Division, 399IntRemainder = Int | Remainder, 409LiftedIntRemainder = Lifted | Int | Remainder, 421IntAddition = Int | Addition, 433LiftedIntAddition = Lifted | Int | Addition, 460IntSubtraction = Int | Subtraction, 473LiftedIntSubtraction = Lifted | Int | Subtraction, 494IntLeftShift = Int | LeftShift, 501LiftedIntLeftShift = Lifted | Int | LeftShift, 510IntRightShift = Int | RightShift, 517LiftedIntRightShift = Lifted | Int | RightShift, 526IntUnsignedRightShift = Int | UnsignedRightShift, 533LiftedIntUnsignedRightShift = Lifted | Int | UnsignedRightShift, 541IntEqual = Int | Equal, 554LiftedIntEqual = Lifted | Int | Equal, 572IntNotEqual = Int | NotEqual, 585LiftedIntNotEqual = Lifted | Int | NotEqual, 603IntLessThan = Int | LessThan, 614LiftedIntLessThan = Lifted | Int | LessThan, 628IntGreaterThan = Int | GreaterThan, 639LiftedIntGreaterThan = Lifted | Int | GreaterThan, 653IntLessThanOrEqual = Int | LessThanOrEqual, 664LiftedIntLessThanOrEqual = Lifted | Int | LessThanOrEqual, 678IntGreaterThanOrEqual = Int | GreaterThanOrEqual, 689LiftedIntGreaterThanOrEqual = Lifted | Int | GreaterThanOrEqual, 703IntAnd = Int | And, 712LiftedIntAnd = Lifted | Int | And, 728IntOr = Int | Or, 737LiftedIntOr = Lifted | Int | Or, 753IntXor = Int | Xor, 762LiftedIntXor = Lifted | Int | Xor,
Binder\Semantics\Operators\OperatorKindExtensions.cs (2)
153return kind | BinaryOperatorKind.Int; 290case BinaryOperatorKind.Int:
Compilation\BuiltInOperators.cs (4)
748case BinaryOperatorKind.Int: return _compilation.GetSpecialType(SpecialType.System_Int32); 780case BinaryOperatorKind.Int: return _compilation.GetSpecialType(SpecialType.System_Int32); 812case BinaryOperatorKind.Int: return _compilation.GetSpecialType(SpecialType.System_Int32); 839BinaryOperatorKind.Int => _compilation.GetSpecialType(SpecialType.System_Int32),
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
412if (operatorKind.OperandTypes() == BinaryOperatorKind.Int && comparisonType.SpecialType != SpecialType.System_Int32)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
2388multiplicationKind |= BinaryOperatorKind.Int; //i.e. signed
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (4)
987result = BinaryOperatorKind.Int; 1036result = BinaryOperatorKind.Int; 1066case BinaryOperatorKind.Int: 1092case BinaryOperatorKind.Int: