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