3 writes to _dictionary
Microsoft.CodeAnalysis.CodeStyle (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);
11 references to _dictionary
Microsoft.CodeAnalysis.CodeStyle (11)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (11)
210
public int Count =>
_dictionary
.Count;
212
public bool IsEmpty =>
_dictionary
.Count == 0;
214
public Dictionary<K, ValueSet>.KeyCollection Keys =>
_dictionary
.Keys;
216
public Dictionary<K, ValueSet>.ValueCollection Values =>
_dictionary
.Values;
225
return
_dictionary
.TryGetValue(k, out var set) ? set : _emptySet;
256
if (
_dictionary
.TryGetValue(k, out ValueSet set))
269
_dictionary
[k] = updated;
280
return
_dictionary
.GetEnumerator();
290
return
_dictionary
.ContainsKey(k);
295
_dictionary
.Clear();
300
_dictionary
.Remove(key);