1 write to WhenFalse
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5121
this.
WhenFalse
= whenFalse;
22 references to WhenFalse
Microsoft.CodeAnalysis.CSharp (22)
Binder\PatternExplainer.cs (4)
61
BoundWhenDecisionDagNode w when distance(w.WhenTrue) is var trueDist2 && distance(w.
WhenFalse
) is var falseDist2 =>
63
(trueDist2 <= falseDist2) ? (1 + trueDist2, w.WhenTrue) : (1 + (falseDist2 < nodeCount ? nodeCount : 0) + falseDist2, w.
WhenFalse
),
90
n = w.
WhenFalse
;
161
return exploreToNode(whenNode.
WhenFalse
, currentRequiresFalseWhenClause: true);
BoundTree\BoundDecisionDag.cs (3)
39
builder.AddIfNotNull(w.
WhenFalse
);
131
return p.Update(p.Bindings, p.WhenExpression, replacement[p.WhenTrue], (p.
WhenFalse
!= null) ? replacement[p.
WhenFalse
] : null);
BoundTree\BoundDecisionDagNode.cs (5)
30
return n1.WhenExpression == n2.WhenExpression && n1.WhenTrue == n2.WhenTrue && n1.
WhenFalse
== n2.
WhenFalse
;
47
return Hash.Combine(RuntimeHelpers.GetHashCode(n.WhenExpression), Hash.Combine(RuntimeHelpers.GetHashCode(n.
WhenFalse
), RuntimeHelpers.GetHashCode(n.WhenTrue)));
105
builder.Append(node.
WhenFalse
!= null
106
? $": [{node.
WhenFalse
.Id}]"
FlowAnalysis\NullableWalker_Patterns.cs (2)
710
gotoNode(w.
WhenFalse
, this.StateWhenFalse, nodeBelievedReachable);
714
Debug.Assert(w.
WhenFalse
is null);
Generated\BoundNodes.xml.Generated.cs (4)
5134
if (bindings != this.Bindings || whenExpression != this.WhenExpression || whenTrue != this.WhenTrue || whenFalse != this.
WhenFalse
)
10305
this.Visit(node.
WhenFalse
);
11565
BoundDecisionDagNode? whenFalse = (BoundDecisionDagNode?)this.Visit(node.
WhenFalse
);
16128
new TreeDumperNode("whenFalse", null, new TreeDumperNode[] { Visit(node.
WhenFalse
, null) }),
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (3)
72
if (w.
WhenFalse
!= null)
74
GetDagNodeLabel(w.
WhenFalse
);
1159
var whenFalse = whenClause.
WhenFalse
;
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (1)
66
Debug.Assert(w.
WhenFalse
is null);