3 writes to _dictionary
Microsoft.CodeAnalysis.Workspaces (3)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (3)
231_dictionary = new Dictionary<K, ValueSet>(); 236_dictionary = new Dictionary<K, ValueSet>(comparer); 249_dictionary = new Dictionary<K, ValueSet>(capacity, comparer);
12 references to _dictionary
Microsoft.CodeAnalysis.Workspaces (12)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (12)
210public int Count => _dictionary.Count; 212public bool IsEmpty => _dictionary.Count == 0; 214public Dictionary<K, ValueSet>.KeyCollection Keys => _dictionary.Keys; 216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values; 225return _dictionary.TryGetValue(k, out var set) ? set : _emptySet; 243_dictionary.EnsureCapacity(capacity); 257if (_dictionary.TryGetValue(k, out ValueSet set)) 270_dictionary[k] = updated; 281return _dictionary.GetEnumerator(); 291return _dictionary.ContainsKey(k); 296_dictionary.Clear(); 301_dictionary.Remove(key);