5 instantiations of BoundNullCoalescingOperator
Microsoft.CodeAnalysis.CSharp (5)
Generated\BoundNodes.xml.Generated.cs (1)
1925
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)
919
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)
4114
var
coalescingOp = (
BoundNullCoalescingOperator
)expr;
4831
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)
2933
public override BoundNode? VisitNullCoalescingOperator(
BoundNullCoalescingOperator
node)
FlowAnalysis\NullableWalker.cs (1)
5642
public override BoundNode? VisitNullCoalescingOperator(
BoundNullCoalescingOperator
node)
Generated\BoundNodes.xml.Generated.cs (10)
1921
public
BoundNullCoalescingOperator
Update(BoundExpression leftOperand, BoundExpression rightOperand, BoundValuePlaceholder? leftPlaceholder, BoundExpression? leftConversion, BoundNullCoalescingOperatorResultKind operatorResultKind, bool @checked, TypeSymbol type)
1925
var
result = new BoundNullCoalescingOperator(this.Syntax, leftOperand, rightOperand, leftPlaceholder, leftConversion, operatorResultKind, @checked, type, this.HasErrors);
8958
return VisitNullCoalescingOperator((
BoundNullCoalescingOperator
)node, arg);
9385
public virtual R VisitNullCoalescingOperator(
BoundNullCoalescingOperator
node, A arg) => this.DefaultVisit(node, arg);
9621
public virtual BoundNode? VisitNullCoalescingOperator(
BoundNullCoalescingOperator
node) => this.DefaultVisit(node);
9979
public override BoundNode? VisitNullCoalescingOperator(
BoundNullCoalescingOperator
node)
11100
public override BoundNode? VisitNullCoalescingOperator(
BoundNullCoalescingOperator
node)
12859
public override BoundNode? VisitNullCoalescingOperator(
BoundNullCoalescingOperator
node)
12865
BoundNullCoalescingOperator
updatedNode;
15402
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)