6 references to KeyComparer
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\TextDocumentStates.cs (1)
59Debug.Assert(map.KeyComparer == DocumentIdComparer.Instance);
System.Collections.Immutable (5)
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
75_keyComparer = map.KeyComparer;
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (4)
841return other.WithComparers(this.KeyComparer, this.ValueComparer); 847dictionary = new SortedDictionary<TKey, TValue>(itemsAsDictionary, this.KeyComparer); 851dictionary = new SortedDictionary<TKey, TValue>(this.KeyComparer); 882return new ImmutableSortedDictionary<TKey, TValue>(root, dictionary.Count, this.KeyComparer, this.ValueComparer);