1 write to _buckets
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
2280_buckets = buckets;
15 references to _buckets
System.Collections.Concurrent (15)
System\Collections\Concurrent\ConcurrentDictionary.cs (15)
352_budget = tables._buckets.Length / tables._locks.Length; 727_budget = Math.Max(1, newTables._buckets.Length / newTables._locks.Length); 809foreach (VolatileNode bucket in _tables._buckets) 824foreach (VolatileNode bucket in _tables._buckets) 839foreach (VolatileNode bucket in _tables._buckets) 901ConcurrentDictionary<TKey, TValue>.VolatileNode[]? buckets = _buckets ??= _dictionary._tables._buckets; 1958int newLength = tables._buckets.Length; 1973if (upgradeComparer is null && GetCountNoLocks() < tables._buckets.Length / 4) 1985if ((newLength = tables._buckets.Length * 2) < 0 || 2020foreach (VolatileNode bucket in tables._buckets) 2065CDSCollectionETWBCLProvider.Log.ConcurrentDictionary_AcquiringAllLocks(_tables._buckets.Length); 2144foreach (VolatileNode bucket in _tables._buckets) 2180foreach (VolatileNode bucket in _tables._buckets) 2231VolatileNode[] buckets = tables._buckets; 2247VolatileNode[] buckets = tables._buckets;