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