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)
61
if (!
_dictionary
.TryGetValue(item, out current) || IsMoreCanonical(item, current))
63
_dictionary
[item] = item;
88
foreach (var key in
_dictionary
.Keys.ToList())
92
_dictionary
.Remove(key);
102
if (
_dictionary
.TryGetValue(item, out current) && IsMoreCanonical(item, current))
104
_dictionary
[item] = item;
112
return
_dictionary
.Values.GetEnumerator();