23 references to MakeBinaryOperator
Microsoft.CodeAnalysis.CSharp (23)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
375return _localRewriter.MakeBinaryOperator( 428return this._localRewriter.MakeBinaryOperator(_factory.Syntax, operatorKind, input, literal, _factory.SpecialType(SpecialType.System_Boolean), method: null, constrainedToTypeOpt: null);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (15)
826return MakeBinaryOperator( 1005return MakeBinaryOperator( 1018return MakeBinaryOperator( 1055BoundExpression leftExpression = MakeBinaryOperator( 1065BoundExpression rightExpression = MakeBinaryOperator( 1076BoundExpression binaryExpression = MakeBinaryOperator( 1226BoundExpression condition = MakeBinaryOperator( 1236BoundExpression unliftedOp = MakeBinaryOperator( 1343BoundExpression unliftedOp = MakeBinaryOperator( 1458BoundExpression condition = MakeBinaryOperator(syntax, BinaryOperatorKind.BoolAnd, callX_HasValue, callY_HasValue, boolType, method: null, constrainedToTypeOpt: null); 1627MakeBinaryOperator(syntax, kind, conditional.Consequence, right, type, method, constrainedToTypeOpt), 1628MakeBinaryOperator(syntax, kind, conditional.Alternative, right, type, method, constrainedToTypeOpt), 1847BoundExpression innerOr = MakeBinaryOperator( 1860BoundExpression condition = MakeBinaryOperator( 2112return MakeBinaryOperator(
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
142BoundExpression 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)
73MakeBinaryOperator(
Lowering\LocalRewriter\LocalRewriter_Range.cs (1)
144condition = MakeBinaryOperator(node.Syntax, BinaryOperatorKind.BoolAnd, condition, operandHasValue, boolType, method: null, constrainedToTypeOpt: null);
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
572BoundExpression binary = MakeBinaryOperator(_factory.Syntax, single.Kind, left, right, single.MethodSymbolOpt?.ReturnType ?? boolType, single.MethodSymbolOpt, single.ConstrainedToTypeOpt);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
774return MakeBinaryOperator(node.Syntax, binaryOperatorKind, binaryOperand, boundOne, binaryOperand.Type, method: null, constrainedToTypeOpt: null); 797binOp = MakeBinaryOperator(node.Syntax, binaryOperatorKind, binaryOperand, boundOne, binaryOperandType, method: null, constrainedToTypeOpt: null);