3 writes to _symbols
Roslyn.Diagnostics.Analyzers (3)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (3)
68
_symbols
= symbols;
75
_symbols
= ImmutableDictionary<ISymbol, TValue>.Empty;
374
internal ref readonly ImmutableDictionary<ISymbol, TValue> Symbols => ref _symbolNamesWithValueOption.
_symbols
;
5 references to _symbols
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);
261
HashUtilities.Combine(
_symbols
, ref hashCode);