23 references to MakeBinaryOperator
Microsoft.CodeAnalysis.CSharp (23)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
375
return _localRewriter.
MakeBinaryOperator
(
428
return this._localRewriter.
MakeBinaryOperator
(_factory.Syntax, operatorKind, input, literal, _factory.SpecialType(SpecialType.System_Boolean), method: null, constrainedToTypeOpt: null);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (15)
832
return
MakeBinaryOperator
(
1011
return
MakeBinaryOperator
(
1024
return
MakeBinaryOperator
(
1061
BoundExpression leftExpression =
MakeBinaryOperator
(
1071
BoundExpression rightExpression =
MakeBinaryOperator
(
1082
BoundExpression binaryExpression =
MakeBinaryOperator
(
1232
BoundExpression condition =
MakeBinaryOperator
(
1242
BoundExpression unliftedOp =
MakeBinaryOperator
(
1349
BoundExpression unliftedOp =
MakeBinaryOperator
(
1464
BoundExpression condition =
MakeBinaryOperator
(syntax, BinaryOperatorKind.BoolAnd, callX_HasValue, callY_HasValue, boolType, method: null, constrainedToTypeOpt: null);
1633
MakeBinaryOperator
(syntax, kind, conditional.Consequence, right, type, method, constrainedToTypeOpt),
1634
MakeBinaryOperator
(syntax, kind, conditional.Alternative, right, type, method, constrainedToTypeOpt),
1853
BoundExpression innerOr =
MakeBinaryOperator
(
1866
BoundExpression condition =
MakeBinaryOperator
(
2118
return
MakeBinaryOperator
(
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
154
operand =
MakeBinaryOperator
(syntax, node.Operator.Kind, opLHS, loweredRight, node.Operator.ReturnType, node.Operator.Method, node.Operator.ConstrainedToTypeOpt, isCompoundAssignment: true);
Lowering\LocalRewriter\LocalRewriter_PointerElementAccess.cs (1)
73
MakeBinaryOperator
(
Lowering\LocalRewriter\LocalRewriter_Range.cs (1)
144
condition =
MakeBinaryOperator
(node.Syntax, BinaryOperatorKind.BoolAnd, condition, operandHasValue, boolType, method: null, constrainedToTypeOpt: null);
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
572
BoundExpression binary =
MakeBinaryOperator
(_factory.Syntax, single.Kind, left, right, single.MethodSymbolOpt?.ReturnType ?? boolType, single.MethodSymbolOpt, single.ConstrainedToTypeOpt);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
774
return
MakeBinaryOperator
(node.Syntax, binaryOperatorKind, binaryOperand, boundOne, binaryOperand.Type, method: null, constrainedToTypeOpt: null);
797
binOp =
MakeBinaryOperator
(node.Syntax, binaryOperatorKind, binaryOperand, boundOne, binaryOperandType, method: null, constrainedToTypeOpt: null);