23 references to MakeBinaryOperator
Microsoft.CodeAnalysis.CSharp (23)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
379
return _localRewriter.
MakeBinaryOperator
(
432
return this._localRewriter.
MakeBinaryOperator
(_factory.Syntax, operatorKind, input, literal, _factory.SpecialType(SpecialType.System_Boolean), method: null, constrainedToTypeOpt: null);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (15)
844
return
MakeBinaryOperator
(
1023
return
MakeBinaryOperator
(
1036
return
MakeBinaryOperator
(
1073
BoundExpression leftExpression =
MakeBinaryOperator
(
1083
BoundExpression rightExpression =
MakeBinaryOperator
(
1094
BoundExpression binaryExpression =
MakeBinaryOperator
(
1244
BoundExpression condition =
MakeBinaryOperator
(
1254
BoundExpression unliftedOp =
MakeBinaryOperator
(
1361
BoundExpression unliftedOp =
MakeBinaryOperator
(
1476
BoundExpression condition =
MakeBinaryOperator
(syntax, BinaryOperatorKind.BoolAnd, callX_HasValue, callY_HasValue, boolType, method: null, constrainedToTypeOpt: null);
1645
MakeBinaryOperator
(syntax, kind, conditional.Consequence, right, type, method, constrainedToTypeOpt),
1646
MakeBinaryOperator
(syntax, kind, conditional.Alternative, right, type, method, constrainedToTypeOpt),
1865
BoundExpression innerOr =
MakeBinaryOperator
(
1878
BoundExpression condition =
MakeBinaryOperator
(
2130
return
MakeBinaryOperator
(
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
199
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)
907
return
MakeBinaryOperator
(node.Syntax, binaryOperatorKind, binaryOperand, boundOne, binaryOperand.Type, method: null, constrainedToTypeOpt: null);
930
binOp =
MakeBinaryOperator
(node.Syntax, binaryOperatorKind, binaryOperand, boundOne, binaryOperandType, method: null, constrainedToTypeOpt: null);