4 instantiations of BoundDagTypeEvaluation
Microsoft.CodeAnalysis.CSharp (4)
Binder\DecisionDagBuilder.cs (3)
380
var valueAsITupleEvaluation = new
BoundDagTypeEvaluation
(syntax, iTupleType, input);
519
var evaluation = new
BoundDagTypeEvaluation
(syntax, type, input);
740
var evaluation = new
BoundDagTypeEvaluation
(bin.Syntax, bin.NarrowedType, input);
Generated\BoundNodes.xml.Generated.cs (1)
5489
var result = new
BoundDagTypeEvaluation
(this.Syntax, type, input, this.HasErrors);
40 references to BoundDagTypeEvaluation
Microsoft.CodeAnalysis.CSharp (40)
Binder\DecisionDagBuilder.cs (19)
36
/// reads a property; and <see cref="
BoundDagTypeEvaluation
"/> converts a value from one type to another (which
380
var
valueAsITupleEvaluation = new BoundDagTypeEvaluation(syntax, iTupleType, input);
410
while (input.Source is
BoundDagTypeEvaluation
source && isDerivedType(source.Input.Type, symbol.ContainingType))
427
while (input.Source is
BoundDagTypeEvaluation
source)
519
var
evaluation = new BoundDagTypeEvaluation(syntax, type, input);
740
var
evaluation = new BoundDagTypeEvaluation(bin.Syntax, bin.NarrowedType, input);
1651
case (
BoundDagTypeEvaluation
, _):
1652
case (_,
BoundDagTypeEvaluation
):
1733
case (
BoundDagTypeEvaluation
s1,
BoundDagTypeEvaluation
s2):
1744
case (
BoundDagTypeEvaluation
s1, BoundDagIndexerEvaluation or BoundDagFieldEvaluation or BoundDagPropertyEvaluation or BoundDagIndexEvaluation or BoundDagSliceEvaluation): // s2Source can be anything with an output, obtainable via MakeResultTemp().
1756
case (BoundDagIndexerEvaluation or BoundDagFieldEvaluation or BoundDagPropertyEvaluation or BoundDagIndexEvaluation or BoundDagSliceEvaluation,
BoundDagTypeEvaluation
s2):
1782
internal static BoundDagEvaluation? SkipAllTypeEvaluations(
BoundDagTypeEvaluation
typeEval)
1784
while (typeEval.Input.Source is
BoundDagTypeEvaluation
source)
2004
case
BoundDagTypeEvaluation
a:
2695
case
BoundDagTypeEvaluation
typeEval:
2810
private static Tests RemoveTypeEvaluation(One tests, ref ImmutableDictionary<BoundDagTemp, BoundDagTemp> tempMap,
BoundDagTypeEvaluation
e1)
2812
if (tests.Test is
BoundDagTypeEvaluation
typeEval && IsSameEntity(typeEval.Input, e1.Input))
2894
case
BoundDagTypeEvaluation
:
Binder\PatternExplainer.cs (2)
381
evaluations[0] is
BoundDagTypeEvaluation
{ Type: var evaluationType } te &&
396
evaluations[0] is
BoundDagTypeEvaluation
{ Type: var evaluationType } te &&
BoundTree\BoundDagEvaluation.cs (4)
23
Debug.Assert(other is BoundDagIndexerEvaluation or
BoundDagTypeEvaluation
||
24
this is BoundDagIndexerEvaluation or
BoundDagTypeEvaluation
||
55
BoundDagTypeEvaluation
e => e.Type,
139
public new
BoundDagTypeEvaluation
Update(BoundDagTemp input)
BoundTree\BoundDagTest.cs (1)
63
case
BoundDagTypeEvaluation
a:
FlowAnalysis\NullableWalker_Patterns.cs (3)
456
case
BoundDagTypeEvaluation
e:
585
&& t.Input.Source is
BoundDagTypeEvaluation
{ Input: { IsOriginalInput: true } })
704
case
BoundDagTypeEvaluation
e:
Generated\BoundNodes.xml.Generated.cs (8)
5485
public
BoundDagTypeEvaluation
Update(TypeSymbol type, BoundDagTemp input)
5489
var
result = new BoundDagTypeEvaluation(this.Syntax, type, input, this.HasErrors);
9262
return VisitDagTypeEvaluation((
BoundDagTypeEvaluation
)node, arg);
9594
public virtual R VisitDagTypeEvaluation(
BoundDagTypeEvaluation
node, A arg) => this.DefaultVisit(node, arg);
9832
public virtual BoundNode? VisitDagTypeEvaluation(
BoundDagTypeEvaluation
node) => this.DefaultVisit(node);
10497
public override BoundNode? VisitDagTypeEvaluation(
BoundDagTypeEvaluation
node)
11870
public override BoundNode? VisitDagTypeEvaluation(
BoundDagTypeEvaluation
node)
16513
public override TreeDumperNode VisitDagTypeEvaluation(
BoundDagTypeEvaluation
node, object? arg) => new TreeDumperNode("dagTypeEvaluation", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (3)
197
case
BoundDagTypeEvaluation
t:
483
evaluation is
BoundDagTypeEvaluation
typeEvaluation1 &&
498
evaluation is
BoundDagTypeEvaluation
typeEvaluation2 &&