2 writes to _dictionary
Microsoft.CodeAnalysis.CodeStyle (2)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (2)
48_dictionary = null; 88_dictionary ??= PooledDictionary<K, ValueSet>.GetInstance();
20 references to _dictionary
Microsoft.CodeAnalysis.CodeStyle (20)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (20)
39if (_dictionary != null) 42foreach (var kvp in _dictionary) 47_dictionary.Free(); 91public bool IsEmpty => _dictionary == null; 98if (_dictionary is object && _dictionary.TryGetValue(k, out var valueSet)) 103_dictionary[k] = valueSet.WithAddedItem(v); 108_dictionary![k] = new ValueSet(v); 114if (_dictionary is not null && _dictionary.TryGetValue(key, out var valueSet)) 126return _dictionary is null ? s_emptyDictionary.GetEnumerator() : _dictionary.GetEnumerator(); 147if (_dictionary is object && _dictionary.TryGetValue(k, out var valueSet)) 159if (_dictionary is object && _dictionary.TryGetValue(k, out var valueSet)) 170return _dictionary is object && 171_dictionary.TryGetValue(key, out var valueSet) && 180get { return _dictionary is null ? s_emptyDictionary.Keys : _dictionary.Keys; }