2 writes to slots
System.Linq.Parallel (2)
System\Linq\Parallel\Utils\HashLookup.cs (2)
39
slots
= new Slot[7];
135
slots
= newSlots;
13 references to slots
System.Linq.Parallel (13)
System\Linq\Parallel\Utils\HashLookup.cs (13)
85
for (int i = buckets[GetBucketIndex(hashCode)] - 1; i >= 0; i =
slots
[i].next)
87
if (
slots
[i].hashCode == hashCode && AreKeysEqual(
slots
[i].key, key))
91
slots
[i].value = value;
96
value =
slots
[i].value;
104
if (count ==
slots
.Length) Resize();
110
slots
[index].hashCode = hashCode;
111
slots
[index].key = key;
112
slots
[index].value = value;
113
slots
[index].next = buckets[bucket] - 1;
133
Array.Copy(
slots
, newSlots, count);
156
get { return new KeyValuePair<TKey, TValue>(
slots
[index].key,
slots
[index].value); }