2 instantiations of BoundDagExplicitNullTest
Microsoft.CodeAnalysis.CSharp (2)
Binder\DecisionDagBuilder.cs (1)
883builder.Add(new Tests.One(new BoundDagExplicitNullTest(constant.Syntax, input)));
Generated\BoundNodes.xml.Generated.cs (1)
5347var result = new BoundDagExplicitNullTest(this.Syntax, input, this.HasErrors);
36 references to BoundDagExplicitNullTest
Microsoft.CodeAnalysis.CSharp (36)
Binder\DecisionDagBuilder.cs (14)
32/// four kinds:<see cref="BoundDagExplicitNullTest"/> tests a value for null; <see cref="BoundDagNonNullTest"/> 1772case BoundDagExplicitNullTest nullTest: 1875resultForNullTest(BoundDagExplicitNullTest nullTest) 1987case BoundDagExplicitNullTest _: 2032case BoundDagExplicitNullTest _: 2051case BoundDagExplicitNullTest _: 2084case BoundDagExplicitNullTest _: 2109case BoundDagExplicitNullTest _: 2352return test is BoundDagExplicitNullTest && IsAnyUnionValue(NotTypeEvaluationInput(test.Input), out testUnionInstance); 2421if (test is not (BoundDagNonNullTest or BoundDagExplicitNullTest) && 2422other is not (BoundDagNonNullTest or BoundDagExplicitNullTest) && 4016case BoundDagExplicitNullTest: 4090if (test is BoundDagExplicitNullTest) 4118if (test is not (BoundDagExplicitNullTest or BoundDagNonNullTest) &&
Binder\PatternExplainer.cs (8)
68case BoundTestDecisionDagNode { Test: BoundDagExplicitNullTest } t when !nullPaths: 186bool skipWhenTrue = test.Test is BoundDagExplicitNullTest && !nullPaths; 393case (test: BoundDagExplicitNullTest _, sense: var sense): 417else if (constraints is [(BoundDagNonNullTest, true) or (BoundDagExplicitNullTest, false), (BoundDagTypeTest { Type: var constraintType2 }, var sense2)]) 586(BoundDagExplicitNullTest _, false) => true, 609(BoundDagExplicitNullTest _, sense: false) => true, 628case BoundDagExplicitNullTest: 801(test: BoundDagExplicitNullTest _, sense: false);
Binder\SwitchExpressionBinder.cs (1)
132case BoundDagExplicitNullTest t: // checks that the input is null
BoundTree\BoundDagTest.cs (2)
35case (BoundDagExplicitNullTest x, BoundDagExplicitNullTest y):
BoundTree\BoundDecisionDag.cs (1)
184case BoundDagExplicitNullTest d:
FlowAnalysis\NullableWalker_Patterns.cs (1)
572case BoundDagExplicitNullTest _:
Generated\BoundNodes.xml.Generated.cs (8)
5343public new BoundDagExplicitNullTest Update(BoundDagTemp input) 5347var result = new BoundDagExplicitNullTest(this.Syntax, input, this.HasErrors); 9357return VisitDagExplicitNullTest((BoundDagExplicitNullTest)node, arg); 9699public virtual R VisitDagExplicitNullTest(BoundDagExplicitNullTest node, A arg) => this.DefaultVisit(node, arg); 9940public virtual BoundNode? VisitDagExplicitNullTest(BoundDagExplicitNullTest node) => this.DefaultVisit(node); 10604public override BoundNode? VisitDagExplicitNullTest(BoundDagExplicitNullTest node) 11996public override BoundNode? VisitDagExplicitNullTest(BoundDagExplicitNullTest node) 16691public override TreeDumperNode VisitDagExplicitNullTest(BoundDagExplicitNullTest node, object? arg) => new TreeDumperNode("dagExplicitNullTest", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
379case BoundDagExplicitNullTest d: