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)
5300var 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"/> 1138case BoundDagExplicitNullTest _: 1270case BoundDagExplicitNullTest _: 1328case BoundDagExplicitNullTest _: 1345case BoundDagExplicitNullTest _: 1376case BoundDagExplicitNullTest _: 1392case BoundDagExplicitNullTest _: 1430if (test is not (BoundDagNonNullTest or BoundDagExplicitNullTest) && 1431other 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)
623case BoundDagExplicitNullTest _:
Generated\BoundNodes.xml.Generated.cs (8)
5296public BoundDagExplicitNullTest Update(BoundDagTemp input) 5300var result = new BoundDagExplicitNullTest(this.Syntax, input, this.HasErrors); 9147return VisitDagExplicitNullTest((BoundDagExplicitNullTest)node, arg); 9480public virtual R VisitDagExplicitNullTest(BoundDagExplicitNullTest node, A arg) => this.DefaultVisit(node, arg); 9716public virtual BoundNode? VisitDagExplicitNullTest(BoundDagExplicitNullTest node) => this.DefaultVisit(node); 10363public override BoundNode? VisitDagExplicitNullTest(BoundDagExplicitNullTest node) 11722public override BoundNode? VisitDagExplicitNullTest(BoundDagExplicitNullTest node) 16336public override TreeDumperNode VisitDagExplicitNullTest(BoundDagExplicitNullTest node, object? arg) => new TreeDumperNode("dagExplicitNullTest", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
354case BoundDagExplicitNullTest d: