6 instantiations of BoundDagTypeTest
Microsoft.CodeAnalysis.CSharp (6)
Binder\DecisionDagBuilder.cs (4)
813tests.Add(new Tests.One(new BoundDagTypeTest(syntax, type, typeEvaluationTemp))); 847tests.Add(new Tests.One(new BoundDagTypeTest(syntax, type, input))); 986tests.Add(new Tests.One(new BoundDagTypeTest(recursive.Syntax, ErrorType(), input, hasErrors: true))); 1019tests.Add(new Tests.One(new BoundDagTypeTest(recursive.Syntax, ErrorType(), input, hasErrors: true)));
Binder\DecisionDagBuilder_ListPatterns.cs (1)
32tests.Add(new Tests.One(new BoundDagTypeTest(list.Syntax, ErrorType(), input, hasErrors: true)));
Generated\BoundNodes.xml.Generated.cs (1)
5310var result = new BoundDagTypeTest(this.Syntax, type, input, this.HasErrors);
34 references to BoundDagTypeTest
Microsoft.CodeAnalysis.CSharp (34)
Binder\DecisionDagBuilder.cs (12)
32/// tests that a value is not null; <see cref="BoundDagTypeTest"/> checks if the value is of a given type; 1747case BoundDagTypeTest typeTest: 1799resultForTypeTest(BoundDagTypeTest typeTest) 1973case BoundDagTypeTest t2 when !_forLowering: 1991case BoundDagTypeTest t1: 2000case BoundDagTypeTest t2: 2067case BoundDagTypeTest t2: 2335if (test is BoundDagTypeTest typeTest && IsAnyUnionValue(NotTypeEvaluationInput(test.Input), out testUnionInstance)) 2394(test is not BoundDagTypeTest || other is not BoundDagTypeTest) && 2898case BoundDagTypeTest b: 3960case BoundDagTypeTest:
Binder\PatternExplainer.cs (6)
302if (test is BoundDagTypeTest && sense == false && ValueSetFactory.TypeUnionValueSetFactoryForInput(binder.Compilation, test.Input) is null) 370case (test: BoundDagTypeTest { Type: var testedType }, sense: var sense): 387if (constraints is [(BoundDagTypeTest { Type: var constraintType1 }, true)]) 392else if (constraints is [(BoundDagNonNullTest, true) or (BoundDagExplicitNullTest, false), (BoundDagTypeTest { Type: var constraintType2 }, var sense2)]) 583(BoundDagTypeTest _, _) => true, 600case BoundDagTypeTest typeTest:
BoundTree\BoundDagTest.cs (4)
31case (BoundDagTypeTest x, BoundDagTypeTest y): 112case BoundDagTypeTest b: 164public new BoundDagTypeTest Update(BoundDagTemp input)
BoundTree\BoundDecisionDag.cs (1)
190case BoundDagTypeTest d:
FlowAnalysis\NullableWalker_Patterns.cs (1)
547case BoundDagTypeTest:
Generated\BoundNodes.xml.Generated.cs (8)
5306public BoundDagTypeTest Update(TypeSymbol type, BoundDagTemp input) 5310var result = new BoundDagTypeTest(this.Syntax, type, input, this.HasErrors); 9372return VisitDagTypeTest((BoundDagTypeTest)node, arg); 9716public virtual R VisitDagTypeTest(BoundDagTypeTest node, A arg) => this.DefaultVisit(node, arg); 9957public virtual BoundNode? VisitDagTypeTest(BoundDagTypeTest node) => this.DefaultVisit(node); 10601public override BoundNode? VisitDagTypeTest(BoundDagTypeTest node) 11989public override BoundNode? VisitDagTypeTest(BoundDagTypeTest node) 16672public override TreeDumperNode VisitDagTypeTest(BoundDagTypeTest node, object? arg) => new TreeDumperNode("dagTypeTest", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
375case BoundDagTypeTest d: 502if (test is BoundDagTypeTest typeDecision &&