1 write to _buckets
System.Private.Xml.Linq (1)
System\Xml\Linq\XHashtable.cs (1)
151
_buckets
= new int[capacity];
16 references to _buckets
System.Private.Xml.Linq (16)
System\Xml\Linq\XHashtable.cs (16)
165
if (_numEntries <
_buckets
.Length)
172
for (int bucketIdx = 0; bucketIdx <
_buckets
.Length; bucketIdx++)
174
int entryIdx =
_buckets
[bucketIdx];
179
entryIdx = Interlocked.CompareExchange(ref
_buckets
[bucketIdx], FullList, EndOfList);
204
if (newSize <
_buckets
.Length / 2)
206
newSize =
_buckets
.Length;
210
newSize =
_buckets
.Length * 2;
222
for (int bucketIdx = 0; bucketIdx <
_buckets
.Length; bucketIdx++)
224
int entryIdx =
_buckets
[bucketIdx];
287
if (newEntry < 0 || newEntry >=
_buckets
.Length)
304
entryIndex = Interlocked.CompareExchange(ref
_buckets
[hashCode & (
_buckets
.Length - 1)], newEntry, EndOfList);
339
currentIndex =
_buckets
[hashCode & (
_buckets
.Length - 1)];
364
_buckets
[hashCode & (
_buckets
.Length - 1)] = currentIndex;