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)
826
return
MakeBinaryOperator
(
1005
return
MakeBinaryOperator
(
1018
return
MakeBinaryOperator
(
1055
BoundExpression leftExpression =
MakeBinaryOperator
(
1065
BoundExpression rightExpression =
MakeBinaryOperator
(
1076
BoundExpression binaryExpression =
MakeBinaryOperator
(
1226
BoundExpression condition =
MakeBinaryOperator
(
1236
BoundExpression unliftedOp =
MakeBinaryOperator
(
1343
BoundExpression unliftedOp =
MakeBinaryOperator
(
1458
BoundExpression condition =
MakeBinaryOperator
(syntax, BinaryOperatorKind.BoolAnd, callX_HasValue, callY_HasValue, boolType, method: null, constrainedToTypeOpt: null);
1627
MakeBinaryOperator
(syntax, kind, conditional.Consequence, right, type, method, constrainedToTypeOpt),
1628
MakeBinaryOperator
(syntax, kind, conditional.Alternative, right, type, method, constrainedToTypeOpt),
1847
BoundExpression innerOr =
MakeBinaryOperator
(
1860
BoundExpression condition =
MakeBinaryOperator
(
2112
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)
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);