2 instantiations of BoundDagExplicitNullTest
Microsoft.CodeAnalysis.CSharp (2)
Binder\DecisionDagBuilder.cs (1)
490
return new Tests.One(new
BoundDagExplicitNullTest
(constant.Syntax, input));
Generated\BoundNodes.xml.Generated.cs (1)
5303
var result = new
BoundDagExplicitNullTest
(this.Syntax, input, this.HasErrors);
29 references to BoundDagExplicitNullTest
Microsoft.CodeAnalysis.CSharp (29)
Binder\DecisionDagBuilder.cs (9)
32
/// four kinds:<see cref="
BoundDagExplicitNullTest
"/> tests a value for null; <see cref="BoundDagNonNullTest"/>
1136
case
BoundDagExplicitNullTest
_:
1268
case
BoundDagExplicitNullTest
_:
1326
case
BoundDagExplicitNullTest
_:
1343
case
BoundDagExplicitNullTest
_:
1374
case
BoundDagExplicitNullTest
_:
1390
case
BoundDagExplicitNullTest
_:
1428
if (test is not (BoundDagNonNullTest or
BoundDagExplicitNullTest
) &&
1429
other is not (BoundDagNonNullTest or
BoundDagExplicitNullTest
) &&
Binder\PatternExplainer.cs (5)
58
BoundTestDecisionDagNode { Test:
BoundDagExplicitNullTest
} t when !nullPaths => (1 + distance(t.WhenFalse), t.WhenFalse),
136
bool skipWhenTrue = test.Test is
BoundDagExplicitNullTest
&& !nullPaths;
325
case (test:
BoundDagExplicitNullTest
_, sense: var sense):
503
(
BoundDagExplicitNullTest
_, false) => true,
637
(test:
BoundDagExplicitNullTest
_, sense: false);
Binder\SwitchExpressionBinder.cs (1)
121
case
BoundDagExplicitNullTest
t: // checks that the input is null
BoundTree\BoundDagTest.cs (3)
33
case (
BoundDagExplicitNullTest
x,
BoundDagExplicitNullTest
y):
89
case
BoundDagExplicitNullTest
n:
BoundTree\BoundDecisionDag.cs (1)
184
case
BoundDagExplicitNullTest
d:
FlowAnalysis\NullableWalker_Patterns.cs (1)
621
case
BoundDagExplicitNullTest
_:
Generated\BoundNodes.xml.Generated.cs (8)
5299
public
BoundDagExplicitNullTest
Update(BoundDagTemp input)
5303
var
result = new BoundDagExplicitNullTest(this.Syntax, input, this.HasErrors);
9146
return VisitDagExplicitNullTest((
BoundDagExplicitNullTest
)node, arg);
9479
public virtual R VisitDagExplicitNullTest(
BoundDagExplicitNullTest
node, A arg) => this.DefaultVisit(node, arg);
9715
public virtual BoundNode? VisitDagExplicitNullTest(
BoundDagExplicitNullTest
node) => this.DefaultVisit(node);
10361
public override BoundNode? VisitDagExplicitNullTest(
BoundDagExplicitNullTest
node)
11623
public override BoundNode? VisitDagExplicitNullTest(
BoundDagExplicitNullTest
node)
16197
public override TreeDumperNode VisitDagExplicitNullTest(
BoundDagExplicitNullTest
node, object? arg) => new TreeDumperNode("dagExplicitNullTest", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
350
case
BoundDagExplicitNullTest
d: