9 references to WithComparers
Microsoft.CodeAnalysis.CSharp (1)
Lowering\ExtensionMethodBodyRewriter.cs (1)
41_symbolMap = ImmutableDictionary<Symbol, Symbol>.Empty.WithComparers(ReferenceEqualityComparer.Instance, ReferenceEqualityComparer.Instance);
System.Collections.Immutable (8)
System\Collections\Immutable\ImmutableDictionary.cs (5)
52return ImmutableDictionary<TKey, TValue>.Empty.WithComparers(keyComparer, valueComparer); 131return ImmutableDictionary<TKey, TValue>.Empty.WithComparers(keyComparer, valueComparer).AddRange(items); 188return ImmutableDictionary<TKey, TValue>.Empty.WithComparers(keyComparer, valueComparer) 277return existingDictionary.WithComparers(keyComparer, valueComparer); 280return ImmutableDictionary<TKey, TValue>.Empty.WithComparers(keyComparer, valueComparer).AddRange(source);
System\Collections\Immutable\ImmutableDictionary_2.cs (3)
466return this.WithComparers(keyComparer, _comparers.ValueComparer); 1080/// <param name="avoidToHashMap"><c>true</c> when being called from <see cref="WithComparers(IEqualityComparer{TKey}, IEqualityComparer{TValue})"/> to avoid a stack overflow.</param> 1092return other.WithComparers(this.KeyComparer, this.ValueComparer);