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; 1138case BoundDagTypeTest _: 1289case BoundDagTypeTest t1: 1298case BoundDagTypeTest t2: 1386case BoundDagTypeTest _: 1430(test is not BoundDagTypeTest || other is not BoundDagTypeTest) && 1748case 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)
598case BoundDagTypeTest:
Generated\BoundNodes.xml.Generated.cs (8)
5244public BoundDagTypeTest Update(TypeSymbol type, BoundDagTemp input) 5248var result = new BoundDagTypeTest(this.Syntax, type, input, this.HasErrors); 9105return VisitDagTypeTest((BoundDagTypeTest)node, arg); 9440public virtual R VisitDagTypeTest(BoundDagTypeTest node, A arg) => this.DefaultVisit(node, arg); 9676public virtual BoundNode? VisitDagTypeTest(BoundDagTypeTest node) => this.DefaultVisit(node); 10314public override BoundNode? VisitDagTypeTest(BoundDagTypeTest node) 11575public override BoundNode? VisitDagTypeTest(BoundDagTypeTest node) 16146public 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 &&