20 references to BoundDefaultLiteral
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Expressions.cs (2)
348
case
BoundDefaultLiteral
defaultExpr:
7875
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)
3445
public override BoundNode VisitDefaultLiteral(
BoundDefaultLiteral
node)
FlowAnalysis\NullableWalker.cs (1)
11534
public override BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node)
Generated\BoundNodes.xml.Generated.cs (9)
2809
public
BoundDefaultLiteral
Update()
9006
return VisitDefaultLiteral((
BoundDefaultLiteral
)node, arg);
9409
public virtual R VisitDefaultLiteral(
BoundDefaultLiteral
node, A arg) => this.DefaultVisit(node, arg);
9645
public virtual BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node) => this.DefaultVisit(node);
10057
public override BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node) => null;
11242
public override BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node)
13218
public override BoundNode? VisitDefaultLiteral(
BoundDefaultLiteral
node)
13225
BoundDefaultLiteral
updatedNode = node.Update();
15614
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)