5 writes to _buckets
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (5)
163_buckets = (int[])source._buckets.Clone(); 738_buckets = new int[capacity]; 758_buckets = null; 1314_buckets = new int[newSize]; 1398_buckets = buckets;
20 references to _buckets
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (20)
158int capacity = source._buckets!.Length; 163_buckets = (int[])source._buckets.Clone(); 202Debug.Assert(_buckets != null, "_buckets should be non-null"); 205Array.Clear(_buckets); 221int[]? buckets = _buckets; 284int[] buckets = _buckets!; 294if (_buckets != null) 458if (set._buckets == null) 462Debug.Assert(set._buckets != null); 546if (set._buckets != null) 632if (set._buckets != null) 706info.AddValue(CapacityName, _buckets == null ? 0 : _buckets.Length); 708if (_buckets != null) 786if (_buckets != null) 1274if (_buckets == null) 1413if (_buckets == null) 1417Debug.Assert(_buckets != null); 1575Debug.Assert(_buckets != null, "_buckets shouldn't be null; callers should check first"); 1733Debug.Assert((_buckets != null) && (_count > 0), "_buckets was null but count greater than 0");