1 write to Comparer
System.Collections.Immutable (1)
System\Collections\Frozen\FrozenDictionary.cs (1)
262
private protected FrozenDictionary(IEqualityComparer<TKey> comparer) =>
Comparer
= comparer;
6 references to Comparer
System.Collections.Immutable (6)
System\Collections\Frozen\DefaultFrozenDictionary.cs (1)
23
IEqualityComparer<TKey> comparer =
Comparer
;
System\Collections\Frozen\FrozenDictionary.cs (3)
79
if (source is FrozenDictionary<TKey, TValue> fd && fd.
Comparer
.Equals(comparer))
102
return ReferenceEquals(comparer, FrozenDictionary<TKey, TValue>.Empty.
Comparer
) ?
261
/// <param name="comparer">The comparer to use and to expose from <see cref="
Comparer
"/>.</param>
System\Collections\Frozen\KeysAndValuesFrozenDictionary.cs (1)
32
hashCodes[i] =
Comparer
.GetHashCode(entries[i].Key);
System\Collections\Frozen\SmallFrozenDictionary.cs (1)
39
IEqualityComparer<TKey> comparer =
Comparer
;