3 instantiations of BoundLeafDecisionDagNode
Microsoft.CodeAnalysis.CSharp (3)
Binder\DecisionDagBuilder.cs (2)
751
var defaultDecision = new
BoundLeafDecisionDagNode
(syntax, _defaultLabel);
1035
BoundDecisionDagNode final = uniqifyDagNode(new
BoundLeafDecisionDagNode
(syntax, label));
Generated\BoundNodes.xml.Generated.cs (1)
5174
var result = new
BoundLeafDecisionDagNode
(this.Syntax, label, this.HasErrors);
32 references to BoundLeafDecisionDagNode
Microsoft.CodeAnalysis.CSharp (32)
Binder\DecisionDagBuilder.cs (3)
30
/// when-clause of a switch case; and <see cref="
BoundLeafDecisionDagNode
"/> represents a leaf node when we
751
var
defaultDecision = new BoundLeafDecisionDagNode(syntax, _defaultLabel);
974
private void ComputeBoundDecisionDagNodes(DecisionDag decisionDag,
BoundLeafDecisionDagNode
defaultDecision)
Binder\PatternExplainer.cs (1)
132
case
BoundLeafDecisionDagNode
:
Binder\SwitchExpressionBinder.cs (1)
93
if (n is
BoundLeafDecisionDagNode
leaf && leaf.Label == defaultLabel)
BoundTree\BoundDecisionDag.cs (3)
35
case
BoundLeafDecisionDagNode
d:
55
if (node is
BoundLeafDecisionDagNode
leaf)
132
case
BoundLeafDecisionDagNode
p:
BoundTree\BoundDecisionDagNode.cs (4)
31
case (
BoundLeafDecisionDagNode
n1,
BoundLeafDecisionDagNode
n2):
48
case
BoundLeafDecisionDagNode
n:
110
case
BoundLeafDecisionDagNode
node:
FlowAnalysis\NullableWalker_Patterns.cs (2)
664
case
BoundLeafDecisionDagNode
d:
901
var leaf = nodes.Where(n => n is
BoundLeafDecisionDagNode
leaf && leaf.Label == node.DefaultLabel).First();
Generated\BoundNodes.xml.Generated.cs (8)
5170
public
BoundLeafDecisionDagNode
Update(LabelSymbol label)
5174
var
result = new BoundLeafDecisionDagNode(this.Syntax, label, this.HasErrors);
9102
return VisitLeafDecisionDagNode((
BoundLeafDecisionDagNode
)node, arg);
9439
public virtual R VisitLeafDecisionDagNode(
BoundLeafDecisionDagNode
node, A arg) => this.DefaultVisit(node, arg);
9675
public virtual BoundNode? VisitLeafDecisionDagNode(
BoundLeafDecisionDagNode
node) => this.DefaultVisit(node);
10309
public override BoundNode? VisitLeafDecisionDagNode(
BoundLeafDecisionDagNode
node) => null;
11569
public override BoundNode? VisitLeafDecisionDagNode(
BoundLeafDecisionDagNode
node) => node;
16133
public override TreeDumperNode VisitLeafDecisionDagNode(
BoundLeafDecisionDagNode
node, object? arg) => new TreeDumperNode("leafDecisionDagNode", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (5)
77
case
BoundLeafDecisionDagNode
d:
115
_dagNodeLabels.Add(dag, label = dag is
BoundLeafDecisionDagNode
d ? d.Label : _factory.GenerateLabel("dagNode"));
378
case
BoundLeafDecisionDagNode
_:
1152
var
whenTrue = (
BoundLeafDecisionDagNode
)whenClause.WhenTrue;
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (4)
69
case
BoundLeafDecisionDagNode
n:
141
return node is
BoundLeafDecisionDagNode
l && l.Label == whenFalseLabel;
277
case
BoundLeafDecisionDagNode
leafNode:
284
Debug.Assert(whenNode.WhenTrue is
BoundLeafDecisionDagNode
d && d.Label == whenTrueLabel);
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (1)
43
if (dag is
BoundLeafDecisionDagNode
d)