7 references to KeyComparer
Microsoft.CodeAnalysis.Collections.Package (7)
Segmented\ImmutableSegmentedDictionary`2.cs (6)
162
if (self.IsEmpty && TryCastToImmutableSegmentedDictionary(pairs, out var other) && self.
KeyComparer
== other.
KeyComparer
)
180
return Empty.WithComparer(self.
KeyComparer
);
251
if (self.
KeyComparer
.Equals(key, equalKey))
272
if (self.
KeyComparer
== keyComparer)
279
if (keyComparer == Empty.
KeyComparer
)
Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
104
_mutableDictionary = new SegmentedDictionary<TKey, TValue>(originalDictionary._dictionary, originalDictionary.
KeyComparer
);