3 writes to _dictionary
Microsoft.CodeAnalysis (3)
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 (12)
InternalUtilities\MultiDictionary.cs (12)
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;
242
_dictionary
.EnsureCapacity(capacity);
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);