2 instantiations of BoundTestDecisionDagNode
Microsoft.CodeAnalysis.CSharp (2)
Binder\DecisionDagBuilder.cs (1)
1057
state.Dag = uniqifyDagNode(new
BoundTestDecisionDagNode
(d.Syntax, d, whenTrue, whenFalse));
Generated\BoundNodes.xml.Generated.cs (1)
5101
var result = new
BoundTestDecisionDagNode
(this.Syntax, test, whenTrue, whenFalse, this.HasErrors);
42 references to BoundTestDecisionDagNode
Microsoft.CodeAnalysis.CSharp (42)
Binder\DecisionDagBuilder.cs (2)
26
/// kind of nodes: <see cref="
BoundTestDecisionDagNode
"/> performs one of the binary tests;
789
case
BoundTestDecisionDagNode
{ Test: var test }:
Binder\PatternExplainer.cs (6)
57
BoundTestDecisionDagNode
{ Test: BoundDagNonNullTest } t when !nullPaths => (1 + distance(t.WhenTrue), t.WhenTrue),
58
BoundTestDecisionDagNode
{ Test: BoundDagExplicitNullTest } t when !nullPaths => (1 + distance(t.WhenFalse), t.WhenFalse),
59
BoundTestDecisionDagNode
t when distance(t.WhenTrue) is var trueDist1 && distance(t.WhenFalse) is var falseDist1 =>
82
case
BoundTestDecisionDagNode
t:
135
case
BoundTestDecisionDagNode
test:
255
case
BoundTestDecisionDagNode
t:
Binder\SwitchExpressionBinder.cs (1)
115
case
BoundTestDecisionDagNode
p:
BoundTree\BoundDecisionDag.cs (3)
31
case
BoundTestDecisionDagNode
p:
128
case
BoundTestDecisionDagNode
p:
158
if (dag is
BoundTestDecisionDagNode
p)
BoundTree\BoundDecisionDagNode.cs (4)
27
case (
BoundTestDecisionDagNode
n1,
BoundTestDecisionDagNode
n2):
44
case
BoundTestDecisionDagNode
n:
79
case
BoundTestDecisionDagNode
node:
FlowAnalysis\NullableWalker_Patterns.cs (1)
588
case
BoundTestDecisionDagNode
p:
Generated\BoundNodes.xml.Generated.cs (8)
5097
public
BoundTestDecisionDagNode
Update(BoundDagTest test, BoundDecisionDagNode whenTrue, BoundDecisionDagNode whenFalse)
5101
var
result = new BoundTestDecisionDagNode(this.Syntax, test, whenTrue, whenFalse, this.HasErrors);
9097
return VisitTestDecisionDagNode((
BoundTestDecisionDagNode
)node, arg);
9436
public virtual R VisitTestDecisionDagNode(
BoundTestDecisionDagNode
node, A arg) => this.DefaultVisit(node, arg);
9672
public virtual BoundNode? VisitTestDecisionDagNode(
BoundTestDecisionDagNode
node) => this.DefaultVisit(node);
10294
public override BoundNode? VisitTestDecisionDagNode(
BoundTestDecisionDagNode
node)
11554
public override BoundNode? VisitTestDecisionDagNode(
BoundTestDecisionDagNode
node)
16115
public override TreeDumperNode VisitTestDecisionDagNode(
BoundTestDecisionDagNode
node, object? arg) => new TreeDumperNode("testDecisionDagNode", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (13)
84
case
BoundTestDecisionDagNode
p:
445
if (node is
BoundTestDecisionDagNode
testNode &&
504
var input = ((
BoundTestDecisionDagNode
)node).Test.Input;
514
case
BoundTestDecisionDagNode
{ WhenFalse:
BoundTestDecisionDagNode
test2 } test1:
516
case
BoundTestDecisionDagNode
{ WhenTrue:
BoundTestDecisionDagNode
test2 } test1:
523
bool canDispatch(
BoundTestDecisionDagNode
test1,
BoundTestDecisionDagNode
test2)
570
if (!(node is
BoundTestDecisionDagNode
testNode && testNode.Test.Input.Equals(input)))
591
BoundTestDecisionDagNode
previous = testNode;
592
while (previous.WhenFalse is
BoundTestDecisionDagNode
p &&
1224
case
BoundTestDecisionDagNode
testNode:
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
584
case
BoundTestDecisionDagNode
t:
676
case
BoundTestDecisionDagNode
testNode:
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (2)
74
case
BoundTestDecisionDagNode
t:
254
case
BoundTestDecisionDagNode
testNode: