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. 107return object.ReferenceEquals(_firstValue, other._firstValue) 120return valueComparer.Equals(_firstValue, other._firstValue) 139if (valueComparer.Equals(value, _firstValue) || _additionalElements.IndexOf(value, valueComparer) >= 0) 146return new HashBucket(_firstValue, _additionalElements.Add(value)); 161return valueComparer.Equals(value, _firstValue) || _additionalElements.IndexOf(value, valueComparer) >= 0; 177if (valueComparer.Equals(value, _firstValue)) 179existingValue = _firstValue; 210if (equalityComparer.Equals(_firstValue, value)) 236return new HashBucket(_firstValue, _additionalElements.RemoveAt(index)); 296/// We're at the <see cref="_firstValue"/> of the containing bucket. 329Position.First => _bucket._firstValue,