6 writes to _buckets
Microsoft.Build (6)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (6)
557_buckets = new int[capacity]; 575_buckets = null; 711_buckets = null; 747_buckets = newBuckets; 767_buckets = new int[size]; 802_buckets = newBuckets;
23 references to _buckets
Microsoft.Build (23)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (23)
266Debug.Assert(_buckets != null, "m_buckets was null but m_lastIndex > 0"); 271Array.Clear(_buckets, 0, _buckets.Length); 365if (_buckets != null) 369for (int i = _buckets[hashCode % _buckets.Length] - 1; i >= 0; i = _slots[i].next) 417if (_buckets != null) 420int bucket = hashCode % _buckets.Length; 422for (int i = _buckets[bucket] - 1; i >= 0; last = i, i = _slots[i].next) 429_buckets[bucket] = _slots[i].next + 1; 526info.AddValue(CapacityName, _buckets == null ? 0 : _buckets.Length); 527if (_buckets != null) 717Debug.Assert(_buckets != null, "m_buckets was null but m_count > 0"); 763Debug.Assert(_buckets == null, "Initialize was called but m_buckets was non-null"); 779Debug.Assert(_buckets != null, "IncreaseCapacity called on a set with no elements"); 819if (_buckets == null) 826int bucket = hashCode % _buckets.Length; 827for (int i = _buckets[hashCode % _buckets.Length] - 1; i >= 0; i = _slots[i].next) 850bucket = hashCode % _buckets.Length; 857_slots[index].next = _buckets[bucket] - 1; 858_buckets[bucket] = index + 1;