5 instantiations of BoundNullCoalescingOperator
Microsoft.CodeAnalysis.CSharp (5)
Generated\BoundNodes.xml.Generated.cs (1)
1924var result = new BoundNullCoalescingOperator(this.Syntax, leftOperand, rightOperand, leftPlaceholder, leftConversion, operatorResultKind, @checked, type, this.HasErrors);
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (2)
56return new BoundNullCoalescingOperator(syntax, rewrittenLeft, rewrittenRight, leftPlaceholder, leftConversion, resultKind, @checked: false, rewrittenResultType); 96return new BoundNullCoalescingOperator(syntax, rewrittenLeft, rewrittenRight, leftPlaceholder: null, leftConversion: null, resultKind, @checked: false, rewrittenResultType);
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
197result = new BoundNullCoalescingOperator(result.Syntax, result, _factory.StringLiteral(""), leftPlaceholder: placeholder, leftConversion: placeholder, BoundNullCoalescingOperatorResultKind.LeftType, @checked: false, result.Type) { WasCompilerGenerated = true };
Lowering\SyntheticBoundNodeFactory.cs (1)
911return new BoundNullCoalescingOperator(Syntax, left, right, leftPlaceholder: null, leftConversion: null, BoundNullCoalescingOperatorResultKind.LeftType, @checked: false, left.Type) { WasCompilerGenerated = true };
28 references to BoundNullCoalescingOperator
Microsoft.CodeAnalysis.CSharp (28)
Binder\Binder.ValueChecks.cs (4)
4138var coalescingOp = (BoundNullCoalescingOperator)expr; 4849var coalescingOp = (BoundNullCoalescingOperator)expr;
BoundTree\BoundTreeVisitors.cs (1)
48return VisitNullCoalescingOperator(node as BoundNullCoalescingOperator, arg);
CodeGen\EmitExpression.cs (2)
206EmitNullCoalescingOperator((BoundNullCoalescingOperator)expression, used); 3838private void EmitNullCoalescingOperator(BoundNullCoalescingOperator expr, bool used)
CodeGen\Optimizer.cs (1)
1567public override BoundNode VisitNullCoalescingOperator(BoundNullCoalescingOperator node)
FlowAnalysis\AbstractFlowPass.cs (1)
2929public override BoundNode? VisitNullCoalescingOperator(BoundNullCoalescingOperator node)
FlowAnalysis\NullableWalker.cs (1)
5581public override BoundNode? VisitNullCoalescingOperator(BoundNullCoalescingOperator node)
Generated\BoundNodes.xml.Generated.cs (10)
1920public BoundNullCoalescingOperator Update(BoundExpression leftOperand, BoundExpression rightOperand, BoundValuePlaceholder? leftPlaceholder, BoundExpression? leftConversion, BoundNullCoalescingOperatorResultKind operatorResultKind, bool @checked, TypeSymbol type) 1924var result = new BoundNullCoalescingOperator(this.Syntax, leftOperand, rightOperand, leftPlaceholder, leftConversion, operatorResultKind, @checked, type, this.HasErrors); 8921return VisitNullCoalescingOperator((BoundNullCoalescingOperator)node, arg); 9348public virtual R VisitNullCoalescingOperator(BoundNullCoalescingOperator node, A arg) => this.DefaultVisit(node, arg); 9584public virtual BoundNode? VisitNullCoalescingOperator(BoundNullCoalescingOperator node) => this.DefaultVisit(node); 9942public override BoundNode? VisitNullCoalescingOperator(BoundNullCoalescingOperator node) 11063public override BoundNode? VisitNullCoalescingOperator(BoundNullCoalescingOperator node) 12822public override BoundNode? VisitNullCoalescingOperator(BoundNullCoalescingOperator node) 12828BoundNullCoalescingOperator updatedNode; 15365public override TreeDumperNode VisitNullCoalescingOperator(BoundNullCoalescingOperator node, object? arg) => new TreeDumperNode("nullCoalescingOperator", null, new TreeDumperNode[]
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
223return VisitNullCoalescingOperator((BoundNullCoalescingOperator)node); 873private BoundExpression VisitNullCoalescingOperator(BoundNullCoalescingOperator node)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
910public override BoundNode VisitNullCoalescingOperator(BoundNullCoalescingOperator node)
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
13public override BoundNode VisitNullCoalescingOperator(BoundNullCoalescingOperator node)
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (1)
199case BoundNullCoalescingOperator boundCoalesce:
Lowering\SpillSequenceSpiller.cs (1)
1233public override BoundNode VisitNullCoalescingOperator(BoundNullCoalescingOperator node)
Operations\CSharpOperationFactory.cs (2)
135return CreateBoundNullCoalescingOperatorOperation((BoundNullCoalescingOperator)boundNode); 1585private ICoalesceOperation CreateBoundNullCoalescingOperatorOperation(BoundNullCoalescingOperator boundNullCoalescingOperator)