2 writes to slots
System.Linq.Parallel (2)
System\Linq\Parallel\Utils\HashLookup.cs (2)
37
slots
= new Slot[7];
127
slots
= newSlots;
13 references to slots
System.Linq.Parallel (13)
System\Linq\Parallel\Utils\HashLookup.cs (13)
79
for (int i = buckets[(uint)hashCode % buckets.Length] - 1; i >= 0; i =
slots
[i].next)
81
if (
slots
[i].hashCode == hashCode && AreKeysEqual(
slots
[i].key, key))
85
slots
[i].value = value;
90
value =
slots
[i].value;
98
if (count ==
slots
.Length) Resize();
104
slots
[index].hashCode = hashCode;
105
slots
[index].key = key;
106
slots
[index].value = value;
107
slots
[index].next = buckets[bucket] - 1;
119
Array.Copy(
slots
, newSlots, count);
137
get { return new KeyValuePair<TKey, TValue>(
slots
[index].key,
slots
[index].value); }