1 write to _firstValue
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (1)
43_firstValue = firstElement;
15 references to _firstValue
System.Collections.Immutable (15)
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (15)
31/// This is null if and only if the entire bucket is empty (including <see cref="_firstValue"/>). 32/// It's empty if <see cref="_firstValue"/> has an element but no additional elements. 70return _firstValue; 149if (keyOnlyComparer.Equals(kv, _firstValue)) 160if (!valueComparer.Equals(_firstValue.Value, value)) 178return new HashBucket(_firstValue, _additionalElements.Add(kv)); 186return new HashBucket(_firstValue, _additionalElements.ReplaceAt(keyCollisionIndex, kv)); 223if (keyOnlyComparer.Equals(_firstValue, kv)) 249return new HashBucket(_firstValue, _additionalElements.RemoveAt(index)); 268if (comparers.KeyComparer.Equals(_firstValue.Key, key)) 270value = _firstValue.Value; 307if (comparers.KeyComparer.Equals(_firstValue.Key, equalKey)) 309actualKey = _firstValue.Key; 375/// We're at the <see cref="_firstValue"/> of the containing bucket. 407Position.First => _bucket._firstValue,