2 instantiations of BoundDagExplicitNullTest
Microsoft.CodeAnalysis.CSharp (2)
Binder\DecisionDagBuilder.cs (1)
487return new Tests.One(new BoundDagExplicitNullTest(constant.Syntax, input));
Generated\BoundNodes.xml.Generated.cs (1)
5191var result = new BoundDagExplicitNullTest(this.Syntax, input, this.HasErrors);
29 references to BoundDagExplicitNullTest
Microsoft.CodeAnalysis.CSharp (29)
Binder\DecisionDagBuilder.cs (9)
31/// four kinds:<see cref="BoundDagExplicitNullTest"/> tests a value for null; <see cref="BoundDagNonNullTest"/> 1087case BoundDagExplicitNullTest _: 1219case BoundDagExplicitNullTest _: 1277case BoundDagExplicitNullTest _: 1294case BoundDagExplicitNullTest _: 1325case BoundDagExplicitNullTest _: 1341case BoundDagExplicitNullTest _: 1379if (test is not (BoundDagNonNullTest or BoundDagExplicitNullTest) && 1380other 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)
119case BoundDagExplicitNullTest t: // checks that the input is null
BoundTree\BoundDagTest.cs (3)
33case (BoundDagExplicitNullTest x, BoundDagExplicitNullTest y): 89case BoundDagExplicitNullTest n:
BoundTree\BoundDecisionDag.cs (1)
178case BoundDagExplicitNullTest d:
FlowAnalysis\NullableWalker_Patterns.cs (1)
581case BoundDagExplicitNullTest _:
Generated\BoundNodes.xml.Generated.cs (8)
5187public BoundDagExplicitNullTest Update(BoundDagTemp input) 5191var result = new BoundDagExplicitNullTest(this.Syntax, input, this.HasErrors); 8785return VisitDagExplicitNullTest((BoundDagExplicitNullTest)node, arg); 9105public virtual R VisitDagExplicitNullTest(BoundDagExplicitNullTest node, A arg) => this.DefaultVisit(node, arg); 9333public virtual BoundNode? VisitDagExplicitNullTest(BoundDagExplicitNullTest node) => this.DefaultVisit(node); 9967public override BoundNode? VisitDagExplicitNullTest(BoundDagExplicitNullTest node) 11191public override BoundNode? VisitDagExplicitNullTest(BoundDagExplicitNullTest node) 15600public override TreeDumperNode VisitDagExplicitNullTest(BoundDagExplicitNullTest node, object? arg) => new TreeDumperNode("dagExplicitNullTest", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
350case BoundDagExplicitNullTest d: