2 writes to slots
System.Linq.Parallel (2)
System\Linq\Parallel\Utils\HashLookup.cs (2)
38slots = new Slot[7]; 137slots = newSlots;
14 references to slots
System.Linq.Parallel (14)
System\Linq\Parallel\Utils\HashLookup.cs (14)
81for (int i = buckets[(uint)hashCode % buckets.Length] - 1; i >= 0; i = slots[i].next) 83if (slots[i].hashCode == hashCode && AreKeysEqual(slots[i].key, key)) 87slots[i].value = value; 92value = slots[i].value; 104freeList = slots[index].next; 108if (count == slots.Length) Resize(); 114slots[index].hashCode = hashCode; 115slots[index].key = key; 116slots[index].value = value; 117slots[index].next = buckets[bucket] - 1; 129Array.Copy(slots, newSlots, count); 147get { return new KeyValuePair<TKey, TValue>(slots[index].key, slots[index].value); }