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)
145
var capacity = source.
_buckets
.Length;
150
_buckets = (SegmentedArray<int>)source.
_buckets
.Clone();
187
Debug.Assert(
_buckets
.Length > 0, "_buckets should be non-empty");
190
SegmentedArray.Clear(
_buckets
, 0,
_buckets
.Length);
206
var buckets =
_buckets
;
293
var buckets =
_buckets
;
299
if (
_buckets
.Length > 0)
393
if (
_buckets
.Length > 0)
867
if (
_buckets
.Length == 0)
977
if (
_buckets
.Length == 0)
981
Debug.Assert(
_buckets
.Length > 0);
1170
Debug.Assert(
_buckets
.Length > 0, "_buckets shouldn't be empty; callers should check first");
1327
Debug.Assert((
_buckets
.Length > 0) && (_count > 0), "_buckets was empty but count greater than 0");