3 instantiations of Tables
System.Collections.Concurrent (3)
System\Collections\Concurrent\ConcurrentDictionary.cs (3)
226_tables = new Tables(buckets, locks, countPerLock, comparer); 725var newTables = new Tables(new VolatileNode[HashHelpers.GetPrime(_initialCapacity)], tables._locks, new int[tables._countPerLock.Length], tables._comparer); 2014var newTables = new Tables(newBuckets, newLocks, newCountPerLock, upgradeComparer ?? tables._comparer);
26 references to Tables
System.Collections.Concurrent (26)
System\Collections\Concurrent\ConcurrentDictionary.cs (26)
31private volatile Tables _tables; 36/// <summary>Whether a non-null comparer in <see cref="Tables._comparer"/> is the default comparer.</summary> 351Tables tables = _tables; 442Tables tables = _tables; 524Tables tables = _tables; 558private static bool TryGetValueInternal(Tables tables, TKey key, int hashcode, [MaybeNullWhen(false)] out TValue value) 633private bool TryUpdateInternal(Tables tables, TKey key, int? nullableHashcode, TValue newValue, TValue comparisonValue) 724Tables tables = _tables; 725var newTables = new Tables(new VolatileNode[HashHelpers.GetPrime(_initialCapacity)], tables._locks, new int[tables._countPerLock.Length], tables._comparer); 921private bool TryAddInternal(Tables tables, TKey key, int? nullableHashcode, TValue value, bool updateIfExists, bool acquireLock, out TValue resultingValue) 1194Tables tables = _tables; 1236Tables tables = _tables; 1268Tables tables = _tables; 1320Tables tables = _tables; 1393Tables tables = _tables; 1459Tables tables = _tables; 1941private void GrowTable(Tables tables, bool resizeDesired, bool forceRehashIfNonRandomized) 2014var newTables = new Tables(newBuckets, newLocks, newCountPerLock, upgradeComparer ?? tables._comparer); 2098private static void AcquirePostFirstLock(Tables tables, ref int locksAcquired) 2229private static Node? GetBucket(Tables tables, int hashcode) 2245private static ref Node? GetBucketAndLock(Tables tables, int hashcode, out uint lockNo) 2316private static bool IsCompatibleKey<TAlternateKey>(ConcurrentDictionary<TKey, TValue>.Tables tables) 2325private static IAlternateEqualityComparer<TAlternateKey, TKey> GetAlternateComparer<TAlternateKey>(ConcurrentDictionary<TKey, TValue>.Tables tables) 2391Tables tables = Dictionary._tables; 2550Tables tables = Dictionary._tables; 2596Tables tables = Dictionary._tables;