2 writes to SetterLocation
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\PreferDictionaryTryMethodsOverContainsKeyGuardAnalyzer.cs (2)
497
usageContext.
SetterLocation
= expression.Syntax.GetLocation();
505
usageContext.
SetterLocation
= expression.Syntax.GetLocation();
6 references to SetterLocation
Microsoft.CodeAnalysis.NetAnalyzers (6)
Microsoft.NetCore.Analyzers\Performance\PreferDictionaryTryMethodsOverContainsKeyGuardAnalyzer.cs (6)
72
Equals(
SetterLocation
, other.
SetterLocation
) &&
83
return RoslynHashCode.Combine(_usageLocations, DictionaryReference, ContainsKeyArgumentReference, AddSymbol,
SetterLocation
, AdditionalArrayIndexReferences);
190
if (usageContext.
SetterLocation
!= null)
192
usageContext.UsageLocations.Add(usageContext.
SetterLocation
);
519
return usageContext.
SetterLocation
!= null;