1 write to Source
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5249
this.
Source
= source;
46 references to Source
Microsoft.CodeAnalysis.CSharp (46)
Binder\DecisionDagBuilder.cs (33)
229
if (temp.
Source
is { })
231
usedValues.Add(temp.
Source
);
259
if (e.Input.
Source
is { })
260
usedValues.Add(e.Input.
Source
);
270
if (d.Input.
Source
is { })
271
usedValues.Add(d.Input.
Source
);
276
if (v.Input.
Source
is { })
277
usedValues.Add(v.Input.
Source
);
464
IsUnionValueEvaluation(input.
Source
, out unionInstance))
543
while (input.
Source
is BoundDagTypeEvaluation source && isDerivedType(source.Input.Type, symbol.ContainingType))
568
while (input.
Source
is BoundDagTypeEvaluation source)
635
input.
Source
is not BoundDagSliceEvaluation)
654
IsUnionTryGetValueEvaluation(input.
Source
, out targetType, out unionInstance))
656
tryGetValueEvaluation = (BoundDagDeconstructEvaluation)input.
Source
;
706
IsUnionTryGetValueEvaluation(input.
Source
, out _, out unionInstance))
734
Source
: BoundDagPropertyEvaluation
924
Debug.Assert(input.
Source
is BoundDagPropertyEvaluation { IsLengthOrCount: true });
1898
while (input.
Source
is BoundDagSliceEvaluation slice)
1913
while (input.
Source
is BoundDagSliceEvaluation slice)
2438
switch (s1Input.
Source
, s2Input.
Source
)
2590
Debug.Assert(s1.Input.
Source
is BoundDagTypeEvaluation);
2591
Debug.Assert(s2.Input.
Source
is BoundDagTypeEvaluation);
2593
BoundDagTemp s1Input = NotTypeEvaluationInput(s1.Input.
Source
);
2594
BoundDagTemp s2Input = NotTypeEvaluationInput(s2.Input.
Source
);
2670
return NotTypeEvaluationInput(typeEval).
Source
;
2675
while (input.
Source
is BoundDagTypeEvaluation source)
3516
if (test.Input.
Source
is BoundDagPropertyEvaluation { IsLengthOrCount: true } e)
3803
else if (typeEval.Input is {
Source
: not BoundDagTypeEvaluation } typeEvalInput)
3936
Debug.Assert(passThrough.Input.
Source
is BoundDagTypeEvaluation);
3937
return new BoundDagPassThroughEvaluation(passThrough.Syntax, ((BoundDagTypeEvaluation)UpdateDagTempReferences((BoundDagTypeEvaluation)passThrough.Input.
Source
, ref tempMap)).MakeResultTemp());
4175
Debug.Assert(Input.
Source
is not BoundDagPropertyEvaluation { IsLengthOrCount: true } e ||
4990
if (input.
Source
is BoundDagPropertyEvaluation { IsLengthOrCount: true } lengthEvaluation &&
BoundTree\BoundDagEvaluation.cs (2)
382
Debug.Assert(Input.
Source
is BoundDagTypeEvaluation);
383
return DecisionDagBuilder.NotTypeEvaluationInput(Input.
Source
).GetHashCode();
BoundTree\BoundDagTemp.cs (4)
20
public bool IsOriginalInput => this.
Source
is null;
29
Equals(other.
Source
, this.
Source
))
50
return Hash.Combine(this.Type.GetHashCode(), Hash.Combine(this.
Source
?.GetHashCode() ?? 0, this.Index));
FlowAnalysis\NullableWalker_Patterns.cs (2)
589
&& t.Input.
Source
is BoundDagTypeEvaluation { Input: { IsOriginalInput: true } })
688
var evaluation = output.
Source
;
Generated\BoundNodes.xml.Generated.cs (4)
5262
if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything) || source != this.
Source
|| index != this.Index)
10591
this.Visit(node.
Source
);
11981
BoundDagEvaluation? source = (BoundDagEvaluation?)this.Visit(node.
Source
);
16672
new TreeDumperNode("source", null, new TreeDumperNode[] { Visit(node.
Source
, null) }),
Utilities\ValueSetFactory.cs (1)
67
if (input.
Source
is BoundDagPropertyEvaluation { IsLengthOrCount: true })