1 write to _firstValue
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableHashSet_1.HashBucket.cs (1)
58
_firstValue
= firstElement;
15 references to _firstValue
System.Collections.Immutable (15)
System\Collections\Immutable\ImmutableHashSet_1.HashBucket.cs (15)
46
/// This is null if and only if the entire bucket is empty (including <see cref="
_firstValue
"/>).
47
/// It's empty if <see cref="
_firstValue
"/> has an element but no additional elements.
107
return object.ReferenceEquals(
_firstValue
, other.
_firstValue
)
120
return valueComparer.Equals(
_firstValue
, other.
_firstValue
)
139
if (valueComparer.Equals(value,
_firstValue
) || _additionalElements.IndexOf(value, valueComparer) >= 0)
146
return new HashBucket(
_firstValue
, _additionalElements.Add(value));
161
return valueComparer.Equals(value,
_firstValue
) || _additionalElements.IndexOf(value, valueComparer) >= 0;
177
if (valueComparer.Equals(value,
_firstValue
))
179
existingValue =
_firstValue
;
210
if (equalityComparer.Equals(
_firstValue
, value))
236
return new HashBucket(
_firstValue
, _additionalElements.RemoveAt(index));
296
/// We're at the <see cref="
_firstValue
"/> of the containing bucket.
329
Position.First => _bucket.
_firstValue
,