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