10 references to WithComparers
System.Collections.Immutable (10)
System\Collections\Immutable\ImmutableSortedDictionary.cs (5)
48
return ImmutableSortedDictionary<TKey, TValue>.Empty.
WithComparers
(keyComparer, valueComparer);
87
return ImmutableSortedDictionary<TKey, TValue>.Empty.
WithComparers
(keyComparer, valueComparer).AddRange(items);
144
return ImmutableSortedDictionary<TKey, TValue>.Empty.
WithComparers
(keyComparer, valueComparer)
206
return existingDictionary.
WithComparers
(keyComparer, valueComparer);
209
return ImmutableSortedDictionary<TKey, TValue>.Empty.
WithComparers
(keyComparer, valueComparer).AddRange(source);
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (5)
84
return _root.IsEmpty ? this : Empty.
WithComparers
(_keyComparer, _valueComparer);
354
return this.
WithComparers
(keyComparer, _valueComparer);
742
? Empty.
WithComparers
(keyComparer, valueComparer)
775
/// <param name="avoidToSortedMap"><c>true</c> when being called from <see cref="
WithComparers
(IComparer{TKey}, IEqualityComparer{TValue})"/> to avoid a stack overflow.</param>
841
return other.
WithComparers
(this.KeyComparer, this.ValueComparer);