6 writes to m_slots
System.Core (6)
System\Collections\Generic\HashSet.cs (6)
172m_slots = (Slot[])source.m_slots.Clone(); 403m_slots = new Slot[capacity]; 921m_slots = null; 952m_slots = newSlots; 983m_slots = new Slot[size]; 1034m_slots = newSlots;
55 references to m_slots
System.Core (55)
System\Collections\Generic\HashSet.cs (55)
150if (m_count > 0 && m_slots.Length / m_count > ShrinkThreshold) { 172m_slots = (Slot[])source.m_slots.Clone(); 179Slot[] slots = source.m_slots; 245Array.Clear(m_slots, 0, m_lastIndex); 263for (int i = m_buckets[hashCode % m_buckets.Length] - 1; i >= 0; i = m_slots[i].next) { 264if (m_slots[i].hashCode == hashCode && m_comparer.Equals(m_slots[i].value, item)) { 292for (int i = m_buckets[bucket] - 1; i >= 0; last = i, i = m_slots[i].next) { 293if (m_slots[i].hashCode == hashCode && m_comparer.Equals(m_slots[i].value, item)) { 296m_buckets[bucket] = m_slots[i].next + 1; 300m_slots[last].next = m_slots[i].next; 302m_slots[i].hashCode = -1; 303m_slots[i].value = default(T); 304m_slots[i].next = m_freeList; 455actualValue = m_slots[i].value; 860if (m_slots[i].hashCode >= 0) { 861array[arrayIndex + numCopied] = m_slots[i].value; 880if (m_slots[i].hashCode >= 0) { 882T value = m_slots[i].value; 937if (m_slots[i].hashCode >= 0) { 938newSlots[newIndex] = m_slots[i]; 949Debug.Assert(newSlots.Length <= m_slots.Length, "capacity increased after TrimExcess"); 1016if (m_slots != null) { 1017Array.Copy(m_slots, 0, newSlots, 0, m_lastIndex); 1054for (int i = m_buckets[hashCode % m_buckets.Length] - 1; i >= 0; i = m_slots[i].next) { 1055if (m_slots[i].hashCode == hashCode && m_comparer.Equals(m_slots[i].value, value)) { 1066m_freeList = m_slots[index].next; 1069if (m_lastIndex == m_slots.Length) { 1077m_slots[index].hashCode = hashCode; 1078m_slots[index].value = value; 1079m_slots[index].next = m_buckets[bucket] - 1; 1107m_slots[index].hashCode = hashCode; 1108m_slots[index].value = value; 1109m_slots[index].next = m_buckets[bucket] - 1; 1159if (m_slots[i].hashCode >= 0) { 1160T item = m_slots[i].value; 1205if (m_slots[i].hashCode >= 0 && !bitHelper.IsMarked(i)) { 1206Remove(m_slots[i].value); 1221for (int i = m_buckets[hashCode % m_buckets.Length] - 1; i >= 0; i = m_slots[i].next) { 1222if ((m_slots[i].hashCode) == hashCode && m_comparer.Equals(m_slots[i].value, item)) { 1310Remove(m_slots[i].value); 1330for (int i = m_buckets[hashCode % m_buckets.Length] - 1; i >= 0; i = m_slots[i].next) { 1331if (m_slots[i].hashCode == hashCode && m_comparer.Equals(m_slots[i].value, value)) { 1339m_freeList = m_slots[index].next; 1342if (m_lastIndex == m_slots.Length) { 1350m_slots[index].hashCode = hashCode; 1351m_slots[index].value = value; 1352m_slots[index].next = m_buckets[bucket] - 1; 1569if (set.m_slots[index].hashCode >= 0) { 1570current = set.m_slots[index].value;