2 instantiations of BoundDagExplicitNullTest
Microsoft.CodeAnalysis.CSharp (2)
Binder\DecisionDagBuilder.cs (1)
536return new Tests.One(new BoundDagExplicitNullTest(constant.Syntax, input));
Generated\BoundNodes.xml.Generated.cs (1)
5308var 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"/> 1184case BoundDagExplicitNullTest _: 1316case BoundDagExplicitNullTest _: 1374case BoundDagExplicitNullTest _: 1391case BoundDagExplicitNullTest _: 1422case BoundDagExplicitNullTest _: 1438case BoundDagExplicitNullTest _: 1476if (test is not (BoundDagNonNullTest or BoundDagExplicitNullTest) && 1477other is not (BoundDagNonNullTest or BoundDagExplicitNullTest) &&
Binder\PatternExplainer.cs (5)
58BoundTestDecisionDagNode { Test: BoundDagExplicitNullTest } t when !nullPaths => (1 + distance(t.WhenFalse), t.WhenFalse), 164bool skipWhenTrue = test.Test is BoundDagExplicitNullTest && !nullPaths; 365case (test: BoundDagExplicitNullTest _, sense: var sense): 543(BoundDagExplicitNullTest _, false) => true, 677(test: BoundDagExplicitNullTest _, sense: false);
Binder\SwitchExpressionBinder.cs (1)
132case 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)
5304public BoundDagExplicitNullTest Update(BoundDagTemp input) 5308var result = new BoundDagExplicitNullTest(this.Syntax, input, this.HasErrors); 9155return VisitDagExplicitNullTest((BoundDagExplicitNullTest)node, arg); 9488public virtual R VisitDagExplicitNullTest(BoundDagExplicitNullTest node, A arg) => this.DefaultVisit(node, arg); 9724public virtual BoundNode? VisitDagExplicitNullTest(BoundDagExplicitNullTest node) => this.DefaultVisit(node); 10371public override BoundNode? VisitDagExplicitNullTest(BoundDagExplicitNullTest node) 11730public override BoundNode? VisitDagExplicitNullTest(BoundDagExplicitNullTest node) 16335public override TreeDumperNode VisitDagExplicitNullTest(BoundDagExplicitNullTest node, object? arg) => new TreeDumperNode("dagExplicitNullTest", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
354case BoundDagExplicitNullTest d: