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