21 references to MakeBinaryOperator
Microsoft.CodeAnalysis.CSharp (21)
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 (13)
813
return
MakeBinaryOperator
(
1004
BoundExpression leftExpression =
MakeBinaryOperator
(
1014
BoundExpression rightExpression =
MakeBinaryOperator
(
1025
BoundExpression binaryExpression =
MakeBinaryOperator
(
1154
BoundExpression condition =
MakeBinaryOperator
(
1164
BoundExpression unliftedOp =
MakeBinaryOperator
(
1262
BoundExpression unliftedOp =
MakeBinaryOperator
(
1377
BoundExpression condition =
MakeBinaryOperator
(syntax, BinaryOperatorKind.BoolAnd, callX_HasValue, callY_HasValue, boolType, method: null, constrainedToTypeOpt: null);
1546
MakeBinaryOperator
(syntax, kind, conditional.Consequence, right, type, method, constrainedToTypeOpt),
1547
MakeBinaryOperator
(syntax, kind, conditional.Alternative, right, type, method, constrainedToTypeOpt),
1767
BoundExpression innerOr =
MakeBinaryOperator
(
1780
BoundExpression condition =
MakeBinaryOperator
(
2032
return
MakeBinaryOperator
(
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
142
BoundExpression 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)
757
return
MakeBinaryOperator
(node.Syntax, binaryOperatorKind, binaryOperand, boundOne, binaryOperand.Type, method: null, constrainedToTypeOpt: null);
780
binOp =
MakeBinaryOperator
(node.Syntax, binaryOperatorKind, binaryOperand, boundOne, binaryOperandType, method: null, constrainedToTypeOpt: null);