2 writes to slots
System.Data.Linq (2)
IdentityManager.cs (2)
259slots = new Slot[7]; 353slots = newSlots;
20 references to slots
System.Data.Linq (20)
IdentityManager.cs (20)
277for (int i = buckets[bucket] - 1; i >= 0; last = i, i = slots[i].next) { 278if (slots[i].hashCode == hashCode && comparer.Equals(slots[i].key, key)) { 280buckets[bucket] = slots[i].next + 1; 283slots[last].next = slots[i].next; 285slots[i].hashCode = -1; 286slots[i].value = default(T); 287slots[i].next = freeList; 315for (int i = buckets[hashCode % buckets.Length] - 1; i >= 0; i = slots[i].next) { 316if (slots[i].hashCode == hashCode && comparer.Equals(slots[i].key, key)) { 317value = slots[i].value; 325freeList = slots[index].next; 328if (count == slots.Length) Resize(); 333slots[index].hashCode = hashCode; 334slots[index].key = key; 335slots[index].value = value; 336slots[index].next = buckets[bucket] - 1; 346Array.Copy(slots, 0, newSlots, 0, count);