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