2 instantiations of BoundDagExplicitNullTest
Microsoft.CodeAnalysis.CSharp (2)
Binder\DecisionDagBuilder.cs (1)
535
return new Tests.One(new
BoundDagExplicitNullTest
(constant.Syntax, input));
Generated\BoundNodes.xml.Generated.cs (1)
5359
var result = new
BoundDagExplicitNullTest
(this.Syntax, input, this.HasErrors);
30 references to BoundDagExplicitNullTest
Microsoft.CodeAnalysis.CSharp (30)
Binder\DecisionDagBuilder.cs (10)
31
/// four kinds:<see cref="
BoundDagExplicitNullTest
"/> tests a value for null; <see cref="BoundDagNonNullTest"/>
1347
case
BoundDagExplicitNullTest
_:
1480
case
BoundDagExplicitNullTest
_:
1538
case
BoundDagExplicitNullTest
_:
1555
case
BoundDagExplicitNullTest
_:
1586
case
BoundDagExplicitNullTest
_:
1602
case
BoundDagExplicitNullTest
_:
1631
if (test is not (BoundDagNonNullTest or
BoundDagExplicitNullTest
) &&
1632
other is not (BoundDagNonNullTest or
BoundDagExplicitNullTest
) &&
2970
case
BoundDagExplicitNullTest
:
Binder\PatternExplainer.cs (5)
58
BoundTestDecisionDagNode { Test:
BoundDagExplicitNullTest
} t when !nullPaths => (1 + distance(t.WhenFalse), t.WhenFalse),
164
bool skipWhenTrue = test.Test is
BoundDagExplicitNullTest
&& !nullPaths;
365
case (test:
BoundDagExplicitNullTest
_, sense: var sense):
543
(
BoundDagExplicitNullTest
_, false) => true,
686
(test:
BoundDagExplicitNullTest
_, sense: false);
Binder\SwitchExpressionBinder.cs (1)
132
case
BoundDagExplicitNullTest
t: // checks that the input is null
BoundTree\BoundDagTest.cs (3)
34
case (
BoundDagExplicitNullTest
x,
BoundDagExplicitNullTest
y):
98
case
BoundDagExplicitNullTest
n:
BoundTree\BoundDecisionDag.cs (1)
184
case
BoundDagExplicitNullTest
d:
FlowAnalysis\NullableWalker_Patterns.cs (1)
568
case
BoundDagExplicitNullTest
_:
Generated\BoundNodes.xml.Generated.cs (8)
5355
public new
BoundDagExplicitNullTest
Update(BoundDagTemp input)
5359
var
result = new BoundDagExplicitNullTest(this.Syntax, input, this.HasErrors);
9254
return VisitDagExplicitNullTest((
BoundDagExplicitNullTest
)node, arg);
9590
public virtual R VisitDagExplicitNullTest(
BoundDagExplicitNullTest
node, A arg) => this.DefaultVisit(node, arg);
9828
public virtual BoundNode? VisitDagExplicitNullTest(
BoundDagExplicitNullTest
node) => this.DefaultVisit(node);
10477
public override BoundNode? VisitDagExplicitNullTest(
BoundDagExplicitNullTest
node)
11849
public override BoundNode? VisitDagExplicitNullTest(
BoundDagExplicitNullTest
node)
16485
public override TreeDumperNode VisitDagExplicitNullTest(
BoundDagExplicitNullTest
node, object? arg) => new TreeDumperNode("dagExplicitNullTest", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
359
case
BoundDagExplicitNullTest
d: