7 references to KeyComparer
Microsoft.CodeAnalysis (7)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (6)
160
if (self.IsEmpty && TryCastToImmutableSegmentedDictionary(pairs, out var other) && self.
KeyComparer
== other.
KeyComparer
)
178
return Empty.WithComparer(self.
KeyComparer
);
249
if (self.
KeyComparer
.Equals(key, equalKey))
270
if (self.
KeyComparer
== keyComparer)
277
if (keyComparer == Empty.
KeyComparer
)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
102
_mutableDictionary = new SegmentedDictionary<TKey, TValue>(originalDictionary._dictionary, originalDictionary.
KeyComparer
);