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