6 instantiations of BoundDagTypeTest
Microsoft.CodeAnalysis.CSharp (6)
Binder\DecisionDagBuilder.cs (4)
379tests.Add(new Tests.One(new BoundDagTypeTest(syntax, iTupleType, input))); 516tests.Add(new Tests.One(new BoundDagTypeTest(syntax, type, input))); 619tests.Add(new Tests.One(new BoundDagTypeTest(recursive.Syntax, ErrorType(), input, hasErrors: true))); 633tests.Add(new Tests.One(new BoundDagTypeTest(recursive.Syntax, ErrorType(), input, hasErrors: true)));
Binder\DecisionDagBuilder_ListPatterns.cs (1)
29tests.Add(new Tests.One(new BoundDagTypeTest(list.Syntax, ErrorType(), input, hasErrors: true)));
Generated\BoundNodes.xml.Generated.cs (1)
5305var result = new BoundDagTypeTest(this.Syntax, type, input, this.HasErrors);
28 references to BoundDagTypeTest
Microsoft.CodeAnalysis.CSharp (28)
Binder\DecisionDagBuilder.cs (9)
32/// tests that a value is not null; <see cref="BoundDagTypeTest"/> checks if the value is of a given type; 1349case BoundDagTypeTest _: 1501case BoundDagTypeTest t1: 1510case BoundDagTypeTest t2: 1598case BoundDagTypeTest _: 1633(test is not BoundDagTypeTest || other is not BoundDagTypeTest) && 2016case BoundDagTypeTest b: 2968case BoundDagTypeTest:
Binder\PatternExplainer.cs (3)
301if (test is BoundDagTypeTest && sense == false) 367case (test: BoundDagTypeTest { Type: var testedType }, sense: var sense): 380constraints[0] is (BoundDagTypeTest { Type: var constraintType }, true) &&
BoundTree\BoundDagTest.cs (4)
30case (BoundDagTypeTest x, BoundDagTypeTest y): 91case BoundDagTypeTest b: 143public new BoundDagTypeTest Update(BoundDagTemp input)
BoundTree\BoundDecisionDag.cs (1)
190case BoundDagTypeTest d:
FlowAnalysis\NullableWalker_Patterns.cs (1)
545case BoundDagTypeTest:
Generated\BoundNodes.xml.Generated.cs (8)
5301public BoundDagTypeTest Update(TypeSymbol type, BoundDagTemp input) 5305var result = new BoundDagTypeTest(this.Syntax, type, input, this.HasErrors); 9250return VisitDagTypeTest((BoundDagTypeTest)node, arg); 9588public virtual R VisitDagTypeTest(BoundDagTypeTest node, A arg) => this.DefaultVisit(node, arg); 9826public virtual BoundNode? VisitDagTypeTest(BoundDagTypeTest node) => this.DefaultVisit(node); 10467public override BoundNode? VisitDagTypeTest(BoundDagTypeTest node) 11838public override BoundNode? VisitDagTypeTest(BoundDagTypeTest node) 16471public override TreeDumperNode VisitDagTypeTest(BoundDagTypeTest node, object? arg) => new TreeDumperNode("dagTypeTest", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
355case BoundDagTypeTest d: 482if (test is BoundDagTypeTest typeDecision &&