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