1 write to _equalityComparer
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
77
_equalityComparer
= equalityComparer;
9 references to _equalityComparer
System.Collections.Immutable (9)
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (1)
72
_equalityComparer = set.
_equalityComparer
;
System\Collections\Immutable\ImmutableHashSet_1.cs (7)
86
return this.IsEmpty ? this : ImmutableHashSet<T>.Empty.WithComparer(
_equalityComparer
);
110
get { return
_equalityComparer
; }
210
int hashCode = equalValue != null ?
_equalityComparer
.GetHashCode(equalValue) : 0;
214
return bucket.TryExchange(equalValue,
_equalityComparer
, out actualValue);
257
ImmutableHashSet<T>.MutationResult result = Except(other,
_equalityComparer
, _hashBucketEqualityComparer, _root);
420
if (equalityComparer ==
_equalityComparer
)
1015
return (root != _root) ? new ImmutableHashSet<T>(root,
_equalityComparer
, adjustedCountIfDifferentRoot) : this;
System\Collections\Immutable\ImmutableHashSet_1.MutationInput.cs (1)
47
_equalityComparer = set.
_equalityComparer
;