1 write to WhenFalse
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5088this.WhenFalse = whenFalse;
34 references to WhenFalse
Microsoft.CodeAnalysis.CSharp (34)
Binder\PatternExplainer.cs (6)
58BoundTestDecisionDagNode { Test: BoundDagExplicitNullTest } t when !nullPaths => (1 + distance(t.WhenFalse), t.WhenFalse), 59BoundTestDecisionDagNode t when distance(t.WhenTrue) is var trueDist1 && distance(t.WhenFalse) is var falseDist1 => 60(trueDist1 <= falseDist1) ? (1 + trueDist1, t.WhenTrue) : (1 + falseDist1, t.WhenFalse), 147if (!exploreToNode(test.WhenFalse, currentRequiresFalseWhenClause)) 258bool sense = t.WhenTrue == nextNode || (t.WhenFalse != nextNode && t.WhenTrue is BoundWhenDecisionDagNode);
Binder\SwitchExpressionBinder.cs (1)
122builder.Add(p.WhenFalse);
BoundTree\BoundDecisionDag.cs (3)
32builder.Add(p.WhenFalse); 129return p.Update(p.Test, replacement[p.WhenTrue], replacement[p.WhenFalse]); 166return replacement[p.WhenFalse];
BoundTree\BoundDecisionDagNode.cs (5)
28return n1.Test.Equals(n2.Test) && n1.WhenTrue == n2.WhenTrue && n1.WhenFalse == n2.WhenFalse; 45return Hash.Combine(n.Test.GetHashCode(), Hash.Combine(RuntimeHelpers.GetHashCode(n.WhenFalse), RuntimeHelpers.GetHashCode(n.WhenTrue))); 85builder.Append(node.WhenFalse != null 86? $": [{node.WhenFalse.Id}]"
FlowAnalysis\NullableWalker_Patterns.cs (5)
604gotoNode(p.WhenFalse, this.StateWhenFalse, nodeBelievedReachable); 619gotoNode(p.WhenFalse, this.StateWhenFalse, nodeBelievedReachable & inputMaybeNull); 628gotoNode(p.WhenFalse, this.StateWhenFalse, nodeBelievedReachable); 649gotoNode(p.WhenFalse, isFalseTest ? this.StateWhenTrue : this.StateWhenFalse, nodeBelievedReachable); 657gotoNode(p.WhenFalse, this.StateWhenFalse, nodeBelievedReachable);
Generated\BoundNodes.xml.Generated.cs (4)
5100if (test != this.Test || whenTrue != this.WhenTrue || whenFalse != this.WhenFalse) 10299this.Visit(node.WhenFalse); 11559BoundDecisionDagNode whenFalse = (BoundDecisionDagNode)this.Visit(node.WhenFalse); 16120new TreeDumperNode("whenFalse", null, new TreeDumperNode[] { Visit(node.WhenFalse, null) }),
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (7)
86notePredecessor(p.WhenFalse); 451var whenFalse = testNode.WhenFalse; 514case BoundTestDecisionDagNode { WhenFalse: BoundTestDecisionDagNode test2 } test1: 582var whenFalse = GatherValueDispatchNodes(testNode.WhenFalse, loweredNodes, input, fac); 592while (previous.WhenFalse is BoundTestDecisionDagNode p && 603var otherwise = GatherValueDispatchNodes(previous.WhenFalse, loweredNodes, input, fac); 1227GenerateTest(test, testNode.WhenTrue, testNode.WhenFalse, nextNode);
Lowering\LocalRewriter\LocalRewriter_IsPatternOperator.cs (3)
75bool falseFail = IsFailureNode(t.WhenFalse, whenFalseLabel); 78node = falseFail ? t.WhenTrue : t.WhenFalse; 267node = invertTest ? testNode.WhenFalse : testNode.WhenTrue;