1 write to _dictionary
Microsoft.CodeAnalysis.CSharp (1)
Utilities\FirstAmongEqualsSet.cs (1)
51_dictionary = new Dictionary<T, T>(equalityComparer);
7 references to _dictionary
Microsoft.CodeAnalysis.CSharp (7)
Utilities\FirstAmongEqualsSet.cs (7)
61if (!_dictionary.TryGetValue(item, out current) || IsMoreCanonical(item, current)) 63_dictionary[item] = item; 88foreach (var key in _dictionary.Keys.ToList()) 92_dictionary.Remove(key); 102if (_dictionary.TryGetValue(item, out current) && IsMoreCanonical(item, current)) 104_dictionary[item] = item; 112return _dictionary.Values.GetEnumerator();