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