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.
70
return
_firstValue
;
149
if (keyOnlyComparer.Equals(kv,
_firstValue
))
160
if (!valueComparer.Equals(
_firstValue
.Value, value))
178
return new HashBucket(
_firstValue
, _additionalElements.Add(kv));
186
return new HashBucket(
_firstValue
, _additionalElements.ReplaceAt(keyCollisionIndex, kv));
223
if (keyOnlyComparer.Equals(
_firstValue
, kv))
249
return new HashBucket(
_firstValue
, _additionalElements.RemoveAt(index));
268
if (comparers.KeyComparer.Equals(
_firstValue
.Key, key))
270
value =
_firstValue
.Value;
307
if (comparers.KeyComparer.Equals(
_firstValue
.Key, equalKey))
309
actualKey =
_firstValue
.Key;
375
/// We're at the <see cref="
_firstValue
"/> of the containing bucket.
407
Position.First => _bucket.
_firstValue
,