1 write to Source
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5204this.Source = source;
30 references to Source
Microsoft.CodeAnalysis.CSharp (30)
Binder\DecisionDagBuilder.cs (18)
218if (temp.Source is { }) 220usedValues.Add(temp.Source); 248if (e.Input.Source is { }) 249usedValues.Add(e.Input.Source); 257if (d.Input.Source is { }) 258usedValues.Add(d.Input.Source); 365while (input.Source is BoundDagTypeEvaluation source && isDerivedType(source.Input.Type, symbol.ContainingType)) 382while (input.Source is BoundDagTypeEvaluation source) 439input.Source is not BoundDagSliceEvaluation) 505Debug.Assert(input.Source is BoundDagPropertyEvaluation { IsLengthOrCount: true }); 784if (evaluation.Input.Source is { Id: -1 } source) 790if (test.Input.Source is { Id: -1 } testSource) 1181while (input.Source is BoundDagSliceEvaluation slice) 1196while (input.Source is BoundDagSliceEvaluation slice) 1443switch (s1Input.Source, s2Input.Source) 1672return $"t{tempIdentifier(t.Source)}"; 2216if (test.Input.Source is BoundDagPropertyEvaluation { IsLengthOrCount: true } e)
BoundTree\BoundDagTemp.cs (6)
19public bool IsOriginalInput => this.Source is null; 29object.Equals(this.Source, other.Source) && 45return Hash.Combine(this.Type.GetHashCode(), Hash.Combine(this.Source?.GetHashCode() ?? 0, this.Index)); 51var name = Source?.Id switch 63return $"{name}{(Source is BoundDagDeconstructEvaluation ? $".Item{(Index + 1).ToString()}" : "")}";
FlowAnalysis\NullableWalker_Patterns.cs (1)
638&& t.Input.Source is BoundDagTypeEvaluation { Input: { IsOriginalInput: true } })
Generated\BoundNodes.xml.Generated.cs (4)
5217if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || source != this.Source || index != this.Index) 10311this.Visit(node.Source); 11571BoundDagEvaluation? source = (BoundDagEvaluation?)this.Visit(node.Source); 16141new TreeDumperNode("source", null, new TreeDumperNode[] { Visit(node.Source, null) }),
Utilities\ValueSetFactory.cs (1)
66if (input.Source is BoundDagPropertyEvaluation { IsLengthOrCount: true })