17 references to EqualityComparer
System.Collections.Immutable (17)
System\Collections\Immutable\ImmutableHashSet_1.cs (17)
617int hashCode = item != null ? origin.EqualityComparer.GetHashCode(item) : 0; 619ImmutableHashSet<T>.HashBucket newBucket = bucket.Add(item, origin.EqualityComparer, out result); 636int hashCode = item != null ? origin.EqualityComparer.GetHashCode(item) : 0; 641ImmutableHashSet<T>.HashBucket newBucket = bucket.Remove(item, origin.EqualityComparer, out result); 658int hashCode = item != null ? origin.EqualityComparer.GetHashCode(item) : 0; 662return bucket.Contains(item, origin.EqualityComparer); 679int hashCode = item != null ? origin.EqualityComparer.GetHashCode(item) : 0; 682ImmutableHashSet<T>.HashBucket newBucket = bucket.Add(item, origin.EqualityComparer, out result); 702int hashCode = item != null ? origin.EqualityComparer.GetHashCode(item) : 0; 705ImmutableHashSet<T>.HashBucket newBucket = bucket.Add(item, origin.EqualityComparer, out result); 746var otherSet = new HashSet<T>(other, origin.EqualityComparer); 790ImmutableHashSet<T>.MutationResult result = Add(item, new MutationInput(newSet, origin.EqualityComparer, origin.HashBucketEqualityComparer, count)); 836ImmutableHashSet<T> otherAsSet = ImmutableHashSet.CreateRange(origin.EqualityComparer, other); 844ImmutableHashSet<T>.MutationResult mutationResult = Add(item, new MutationInput(result, origin.EqualityComparer, origin.HashBucketEqualityComparer, count)); 854ImmutableHashSet<T>.MutationResult mutationResult = Add(item, new MutationInput(result, origin.EqualityComparer, origin.HashBucketEqualityComparer, count)); 883var otherSet = new HashSet<T>(other, origin.EqualityComparer); 956var otherSet = new HashSet<T>(other, origin.EqualityComparer);