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