3 writes to _names
Roslyn.Diagnostics.Analyzers (3)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (3)
67
_names
= names;
74
_names
= ImmutableDictionary<string, TValue>.Empty;
372
internal ref readonly ImmutableDictionary<string, TValue> Names => ref _symbolNamesWithValueOption.
_names
;
5 references to _names
Roslyn.Diagnostics.Analyzers (5)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (5)
231
=> _symbols.ContainsKey(symbol) ||
_names
.ContainsKey(symbol.Name) || TryGetFirstWildcardMatch(symbol, out _, out _);
238
if (_symbols.TryGetValue(symbol, out value) ||
_names
.TryGetValue(symbol.Name, out value))
255
=> other != null &&
_names
.IsEqualTo(other.
_names
) && _symbols.IsEqualTo(other._symbols) && _wildcardNamesBySymbolKind.IsEqualTo(other._wildcardNamesBySymbolKind);
260
HashUtilities.Combine(
_names
, ref hashCode);