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