1 write to WhenFalse
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5121this.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)
5134if (bindings != this.Bindings || whenExpression != this.WhenExpression || whenTrue != this.WhenTrue || whenFalse != this.WhenFalse) 10305this.Visit(node.WhenFalse); 11565BoundDecisionDagNode? whenFalse = (BoundDecisionDagNode?)this.Visit(node.WhenFalse); 16128new 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);