6 instantiations of BoundDagTypeTest
Microsoft.CodeAnalysis.CSharp (6)
Binder\DecisionDagBuilder.cs (4)
334tests.Add(new Tests.One(new BoundDagTypeTest(syntax, iTupleType, input))); 471tests.Add(new Tests.One(new BoundDagTypeTest(syntax, type, input))); 574tests.Add(new Tests.One(new BoundDagTypeTest(recursive.Syntax, ErrorType(), input, hasErrors: true))); 588tests.Add(new Tests.One(new BoundDagTypeTest(recursive.Syntax, ErrorType(), input, hasErrors: true)));
Binder\DecisionDagBuilder_ListPatterns.cs (1)
28tests.Add(new Tests.One(new BoundDagTypeTest(list.Syntax, ErrorType(), input, hasErrors: true)));
Generated\BoundNodes.xml.Generated.cs (1)
5248var result = new BoundDagTypeTest(this.Syntax, type, input, this.HasErrors);
26 references to BoundDagTypeTest
Microsoft.CodeAnalysis.CSharp (26)
Binder\DecisionDagBuilder.cs (8)
33/// tests that a value is not null; <see cref="BoundDagTypeTest"/> checks if the value is of a given type; 1112case BoundDagTypeTest _: 1263case BoundDagTypeTest t1: 1272case BoundDagTypeTest t2: 1360case BoundDagTypeTest _: 1404(test is not BoundDagTypeTest || other is not BoundDagTypeTest) && 1722case BoundDagTypeTest b:
Binder\PatternExplainer.cs (3)
261if (test is BoundDagTypeTest && sense == false) 327case (test: BoundDagTypeTest { Type: var testedType }, sense: var sense): 340constraints[0] is (BoundDagTypeTest { Type: var constraintType }, true) &&
BoundTree\BoundDagTest.cs (3)
29case (BoundDagTypeTest x, BoundDagTypeTest y): 82case BoundDagTypeTest b:
BoundTree\BoundDecisionDag.cs (1)
190case BoundDagTypeTest d:
FlowAnalysis\NullableWalker_Patterns.cs (1)
560case BoundDagTypeTest:
Generated\BoundNodes.xml.Generated.cs (8)
5244public BoundDagTypeTest Update(TypeSymbol type, BoundDagTemp input) 5248var result = new BoundDagTypeTest(this.Syntax, type, input, this.HasErrors); 9103return VisitDagTypeTest((BoundDagTypeTest)node, arg); 9438public virtual R VisitDagTypeTest(BoundDagTypeTest node, A arg) => this.DefaultVisit(node, arg); 9674public virtual BoundNode? VisitDagTypeTest(BoundDagTypeTest node) => this.DefaultVisit(node); 10312public override BoundNode? VisitDagTypeTest(BoundDagTypeTest node) 11573public override BoundNode? VisitDagTypeTest(BoundDagTypeTest node) 16144public override TreeDumperNode VisitDagTypeTest(BoundDagTypeTest node, object? arg) => new TreeDumperNode("dagTypeTest", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
346case BoundDagTypeTest d: 467if (test is BoundDagTypeTest typeDecision &&