3 writes to _dictionary
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (3)
231_dictionary = new Dictionary<K, ValueSet>(); 236_dictionary = new Dictionary<K, ValueSet>(comparer); 248_dictionary = new Dictionary<K, ValueSet>(capacity, comparer);
12 references to _dictionary
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (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; 242_dictionary.EnsureCapacity(capacity); 256if (_dictionary.TryGetValue(k, out ValueSet set)) 269_dictionary[k] = updated; 280return _dictionary.GetEnumerator(); 290return _dictionary.ContainsKey(k); 295_dictionary.Clear(); 300_dictionary.Remove(key);