14 references to KeyComparer
System.Collections.Immutable (14)
System\Collections\Frozen\FrozenSetInternalBase.cs (1)
166
ImmutableSortedSet<T> iss => _thisSet.Comparer.Equals(iss.
KeyComparer
),
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
63
_comparer = set.
KeyComparer
;
System\Collections\Immutable\ImmutableSortedSet_1.cs (12)
295
if (TryCastToImmutableSortedSet(other, out immutableSortedSet) && immutableSortedSet.
KeyComparer
== this.
KeyComparer
) // argument is a compatible immutable sorted set
381
if (EqualityComparer<IComparer<T>>.Default.Equals(this.
KeyComparer
, otherAsImmutableSortedSet.
KeyComparer
))
397
if (EqualityComparer<IComparer<T>>.Default.Equals(this.
KeyComparer
, otherAsSortedSet.Comparer))
421
var otherSet = new SortedSet<T>(other, this.
KeyComparer
);
452
var otherSet = new SortedSet<T>(other, this.
KeyComparer
);
529
var otherSet = new SortedSet<T>(other, this.
KeyComparer
);
1123
if (source.
KeyComparer
.Compare(item, e.Current) != 0)
1141
if (source.
KeyComparer
.Compare(item, e.Current) != 0)
1215
IComparer<T> comparer = this.
KeyComparer
;
1273
IComparer<T> comparer = this.
KeyComparer
;