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)
165if (_numEntries < _buckets.Length) 172for (int bucketIdx = 0; bucketIdx < _buckets.Length; bucketIdx++) 174int entryIdx = _buckets[bucketIdx]; 179entryIdx = Interlocked.CompareExchange(ref _buckets[bucketIdx], FullList, EndOfList); 204if (newSize < _buckets.Length / 2) 206newSize = _buckets.Length; 210newSize = _buckets.Length * 2; 222for (int bucketIdx = 0; bucketIdx < _buckets.Length; bucketIdx++) 224int entryIdx = _buckets[bucketIdx]; 287if (newEntry < 0 || newEntry >= _buckets.Length) 304entryIndex = Interlocked.CompareExchange(ref _buckets[hashCode & (_buckets.Length - 1)], newEntry, EndOfList); 339currentIndex = _buckets[hashCode & (_buckets.Length - 1)]; 364_buckets[hashCode & (_buckets.Length - 1)] = currentIndex;