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