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