5 instantiations of BoundDagTypeTest
Microsoft.CodeAnalysis.CSharp (5)
Binder\DecisionDagBuilder.cs (3)
844
tests.Add(new Tests.One(new
BoundDagTypeTest
(syntax, type, input)));
983
tests.Add(new Tests.One(new
BoundDagTypeTest
(recursive.Syntax, ErrorType(), input, hasErrors: true)));
1013
tests.Add(new Tests.One(new
BoundDagTypeTest
(recursive.Syntax, ErrorType(), input, hasErrors: true)));
Binder\DecisionDagBuilder_ListPatterns.cs (1)
32
tests.Add(new Tests.One(new
BoundDagTypeTest
(list.Syntax, ErrorType(), input, hasErrors: true)));
Generated\BoundNodes.xml.Generated.cs (1)
5310
var result = new
BoundDagTypeTest
(this.Syntax, type, input, this.HasErrors);
33 references to BoundDagTypeTest
Microsoft.CodeAnalysis.CSharp (33)
Binder\DecisionDagBuilder.cs (11)
32
/// tests that a value is not null; <see cref="
BoundDagTypeTest
"/> checks if the value is of a given type;
1742
case
BoundDagTypeTest
typeTest:
1794
resultForTypeTest(
BoundDagTypeTest
typeTest)
1974
case
BoundDagTypeTest
t1:
1983
case
BoundDagTypeTest
t2:
2050
case
BoundDagTypeTest
_:
2308
if (test is
BoundDagTypeTest
typeTest && IsAnyUnionValue(NotTypeEvaluationInput(test.Input), out testUnionInstance))
2367
(test is not
BoundDagTypeTest
|| other is not
BoundDagTypeTest
) &&
2871
case
BoundDagTypeTest
b:
3933
case
BoundDagTypeTest
:
Binder\PatternExplainer.cs (6)
301
if (test is
BoundDagTypeTest
&& sense == false && ValueSetFactory.TypeUnionValueSetFactoryForInput(test.Input) is null)
368
case (test:
BoundDagTypeTest
{ Type: var testedType }, sense: var sense):
385
if (constraints is [(
BoundDagTypeTest
{ Type: var constraintType1 }, true)])
390
else if (constraints is [(BoundDagNonNullTest, true) or (BoundDagExplicitNullTest, false), (
BoundDagTypeTest
{ Type: var constraintType2 }, var sense2)])
581
(
BoundDagTypeTest
_, _) => true,
598
case
BoundDagTypeTest
typeTest:
BoundTree\BoundDagTest.cs (4)
31
case (
BoundDagTypeTest
x,
BoundDagTypeTest
y):
112
case
BoundDagTypeTest
b:
164
public new
BoundDagTypeTest
Update(BoundDagTemp input)
BoundTree\BoundDecisionDag.cs (1)
190
case
BoundDagTypeTest
d:
FlowAnalysis\NullableWalker_Patterns.cs (1)
545
case
BoundDagTypeTest
:
Generated\BoundNodes.xml.Generated.cs (8)
5306
public
BoundDagTypeTest
Update(TypeSymbol type, BoundDagTemp input)
5310
var
result = new BoundDagTypeTest(this.Syntax, type, input, this.HasErrors);
9372
return VisitDagTypeTest((
BoundDagTypeTest
)node, arg);
9716
public virtual R VisitDagTypeTest(
BoundDagTypeTest
node, A arg) => this.DefaultVisit(node, arg);
9957
public virtual BoundNode? VisitDagTypeTest(
BoundDagTypeTest
node) => this.DefaultVisit(node);
10601
public override BoundNode? VisitDagTypeTest(
BoundDagTypeTest
node)
11989
public override BoundNode? VisitDagTypeTest(
BoundDagTypeTest
node)
16672
public override TreeDumperNode VisitDagTypeTest(
BoundDagTypeTest
node, object? arg) => new TreeDumperNode("dagTypeTest", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
375
case
BoundDagTypeTest
d:
502
if (test is
BoundDagTypeTest
typeDecision &&