3 writes to _buckets
Microsoft.CodeAnalysis (3)
SegmentedHashSet`1.cs (3)
150_buckets = (SegmentedArray<int>)source._buckets.Clone(); 890_buckets = new SegmentedArray<int>(newSize); 964_buckets = buckets;
14 references to _buckets
Microsoft.CodeAnalysis (14)
SegmentedHashSet`1.cs (14)
145var capacity = source._buckets.Length; 150_buckets = (SegmentedArray<int>)source._buckets.Clone(); 187Debug.Assert(_buckets.Length > 0, "_buckets should be non-empty"); 190SegmentedArray.Clear(_buckets, 0, _buckets.Length); 206var buckets = _buckets; 293var buckets = _buckets; 299if (_buckets.Length > 0) 393if (_buckets.Length > 0) 867if (_buckets.Length == 0) 977if (_buckets.Length == 0) 981Debug.Assert(_buckets.Length > 0); 1170Debug.Assert(_buckets.Length > 0, "_buckets shouldn't be empty; callers should check first"); 1327Debug.Assert((_buckets.Length > 0) && (_count > 0), "_buckets was empty but count greater than 0");