20 references to BoundDefaultLiteral
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Expressions.cs (2)
348
case
BoundDefaultLiteral
defaultExpr:
7874
if ((boundLeft is
BoundDefaultLiteral
|| boundLeft is BoundDefaultExpression) && boundLeft.ConstantValueOpt == ConstantValue.Null &&
BoundTree\BoundNode_Source.cs (1)
346
case
BoundDefaultLiteral
_:
BoundTree\BoundTreeVisitors.cs (1)
56
return VisitDefaultLiteral(node as
BoundDefaultLiteral
, arg);
FlowAnalysis\AbstractFlowPass.cs (1)
3441
public override BoundNode VisitDefaultLiteral(
BoundDefaultLiteral
node)
FlowAnalysis\NullableWalker.cs (1)
11476
public override BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node)
Generated\BoundNodes.xml.Generated.cs (9)
2808
public
BoundDefaultLiteral
Update()
8969
return VisitDefaultLiteral((
BoundDefaultLiteral
)node, arg);
9372
public virtual R VisitDefaultLiteral(
BoundDefaultLiteral
node, A arg) => this.DefaultVisit(node, arg);
9608
public virtual BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node) => this.DefaultVisit(node);
10020
public override BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node) => null;
11205
public override BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node)
13181
public override BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node)
13188
BoundDefaultLiteral
updatedNode = node.Update();
15577
public override TreeDumperNode VisitDefaultLiteral(
BoundDefaultLiteral
node, object? arg) => new TreeDumperNode("defaultLiteral", null, new TreeDumperNode[]
Lowering\Extensions.cs (1)
91
if (expr is
BoundDefaultLiteral
|| expr is BoundDefaultExpression)
Lowering\LocalRewriter\LocalRewriter.cs (2)
455
public override BoundNode VisitDefaultLiteral(
BoundDefaultLiteral
node)
1172
public override BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node)
Operations\CSharpOperationFactory.cs (2)
106
return CreateBoundDefaultLiteralOperation((
BoundDefaultLiteral
)boundNode);
1284
private IDefaultValueOperation CreateBoundDefaultLiteralOperation(
BoundDefaultLiteral
boundDefaultLiteral)