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