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)
5249
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;
1138
case
BoundDagTypeTest
_:
1289
case
BoundDagTypeTest
t1:
1298
case
BoundDagTypeTest
t2:
1386
case
BoundDagTypeTest
_:
1430
(test is not
BoundDagTypeTest
|| other is not
BoundDagTypeTest
) &&
1748
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)
598
case
BoundDagTypeTest
:
Generated\BoundNodes.xml.Generated.cs (8)
5245
public
BoundDagTypeTest
Update(TypeSymbol type, BoundDagTemp input)
5249
var
result = new BoundDagTypeTest(this.Syntax, type, input, this.HasErrors);
9142
return VisitDagTypeTest((
BoundDagTypeTest
)node, arg);
9477
public virtual R VisitDagTypeTest(
BoundDagTypeTest
node, A arg) => this.DefaultVisit(node, arg);
9713
public virtual BoundNode? VisitDagTypeTest(
BoundDagTypeTest
node) => this.DefaultVisit(node);
10351
public override BoundNode? VisitDagTypeTest(
BoundDagTypeTest
node)
11612
public override BoundNode? VisitDagTypeTest(
BoundDagTypeTest
node)
16183
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 &&