10 references to KeyComparer
Microsoft.CodeAnalysis.UnitTests (1)
Collections\ImmutableSetTest.nonnetstandard.cs (1)
70
System.Collections.Immutable.ImmutableSortedSet<T> s => s.
KeyComparer
,
System.Collections.Immutable (9)
System\Collections\Frozen\FrozenSetInternalBase.cs (1)
166
ImmutableSortedSet<T> iss => _thisSet.Comparer.Equals(iss.
KeyComparer
),
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
67
_comparer = set.
KeyComparer
;
System\Collections\Immutable\ImmutableSortedSet_1.cs (7)
295
if (TryCastToImmutableSortedSet(other, out immutableSortedSet) && immutableSortedSet.
KeyComparer
== this.
KeyComparer
) // argument is a compatible immutable sorted set
378
var otherSet = new SortedSet<T>(other, this.
KeyComparer
);
420
var otherSet = new SortedSet<T>(other, this.
KeyComparer
);
497
var otherSet = new SortedSet<T>(other, this.
KeyComparer
);
1147
IComparer<T> comparer = this.
KeyComparer
;
1205
IComparer<T> comparer = this.
KeyComparer
;