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)
11473
public override BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node)
Generated\BoundNodes.xml.Generated.cs (9)
2809
public
BoundDefaultLiteral
Update()
8970
return VisitDefaultLiteral((
BoundDefaultLiteral
)node, arg);
9373
public virtual R VisitDefaultLiteral(
BoundDefaultLiteral
node, A arg) => this.DefaultVisit(node, arg);
9609
public virtual BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node) => this.DefaultVisit(node);
10021
public override BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node) => null;
11206
public override BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node)
13182
public override BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node)
13189
BoundDefaultLiteral
updatedNode = node.Update();
15578
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)