1 write to Source
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5261this.Source = source;
33 references to Source
Microsoft.CodeAnalysis.CSharp (33)
Binder\DecisionDagBuilder.cs (20)
218if (temp.Source is { }) 220usedValues.Add(temp.Source); 248if (e.Input.Source is { }) 249usedValues.Add(e.Input.Source); 259if (d.Input.Source is { }) 260usedValues.Add(d.Input.Source); 410while (input.Source is BoundDagTypeEvaluation source && isDerivedType(source.Input.Type, symbol.ContainingType)) 427while (input.Source is BoundDagTypeEvaluation source) 484input.Source is not BoundDagSliceEvaluation) 550Debug.Assert(input.Source is BoundDagPropertyEvaluation { IsLengthOrCount: true }); 839if (evaluation.Input.Source is { Id: -1 } source) 845if (test.Input.Source is { Id: -1 } testSource) 1392while (input.Source is BoundDagSliceEvaluation slice) 1407while (input.Source is BoundDagSliceEvaluation slice) 1648switch (s1Input.Source, s2Input.Source) 1784while (typeEval.Input.Source is BoundDagTypeEvaluation source) 1790return typeEval.Input.Source; 1940return $"t{tempIdentifier(t.Source)}"; 2573if (test.Input.Source is BoundDagPropertyEvaluation { IsLengthOrCount: true } e)
BoundTree\BoundDagTemp.cs (6)
19public bool IsOriginalInput => this.Source is null; 28Equals(other.Source, this.Source)) 49return Hash.Combine(this.Type.GetHashCode(), Hash.Combine(this.Source?.GetHashCode() ?? 0, this.Index)); 55var name = Source?.Id switch 67return $"{name}{(Source is BoundDagDeconstructEvaluation ? $".Item{(Index + 1).ToString()}" : "")}";
FlowAnalysis\NullableWalker_Patterns.cs (2)
585&& t.Input.Source is BoundDagTypeEvaluation { Input: { IsOriginalInput: true } }) 684var evaluation = output.Source;
Generated\BoundNodes.xml.Generated.cs (4)
5274if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || source != this.Source || index != this.Index) 10464this.Visit(node.Source); 11834BoundDagEvaluation? source = (BoundDagEvaluation?)this.Visit(node.Source); 16466new TreeDumperNode("source", null, new TreeDumperNode[] { Visit(node.Source, null) }),
Utilities\ValueSetFactory.cs (1)
66if (input.Source is BoundDagPropertyEvaluation { IsLengthOrCount: true })