5 references to GetReferencedSymbol
Microsoft.CodeAnalysis.NetAnalyzers (5)
Microsoft.CodeQuality.Analyzers\QualityGuidelines\AvoidMultipleEnumerations\AvoidMultipleEnumerations.PreAnalysis.cs (5)
32
var symbol =
GetReferencedSymbol
(operation);
166
&&
GetReferencedSymbol
(operation) is { } source)
242
:
GetReferencedSymbol
(operation.LoopControlVariable);
283
_assignmentTarget = CanHoldEnumerable(target.Type) ?
GetReferencedSymbol
(target) : null;
331
|| CanHoldEnumerable(operation.Type) &&
GetReferencedSymbol
(operation) is { } referenced