1 write to buckets
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
657buckets = new int[capacity];
16 references to buckets
System.Xml.Linq (16)
System\Xml\Linq\XLinq.cs (16)
670if (numEntries < buckets.Length) 677for (int bucketIdx = 0; bucketIdx < buckets.Length; bucketIdx++) { 678int entryIdx = buckets[bucketIdx]; 682entryIdx = Interlocked.CompareExchange(ref buckets[bucketIdx], FullList, EndOfList); 704if (newSize < buckets.Length / 2) { 705newSize = buckets.Length; 708newSize = buckets.Length * 2; 720for (int bucketIdx = 0; bucketIdx < buckets.Length; bucketIdx++) { 721int entryIdx = buckets[bucketIdx]; 782if (newEntry < 0 || newEntry >= buckets.Length) 807entryIndex = Interlocked.CompareExchange(ref buckets[hashCode & (buckets.Length - 1)], newEntry, EndOfList); 841currentIndex = buckets[hashCode & (buckets.Length - 1)]; 863buckets[hashCode & (buckets.Length - 1)] = currentIndex;