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); 2039var 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); 946private bool TryAddInternal(Tables tables, TKey key, int? nullableHashcode, TValue value, bool updateIfExists, bool acquireLock, out TValue resultingValue) 1219Tables tables = _tables; 1261Tables tables = _tables; 1293Tables tables = _tables; 1345Tables tables = _tables; 1418Tables tables = _tables; 1484Tables tables = _tables; 1966private void GrowTable(Tables tables, bool resizeDesired, bool forceRehashIfNonRandomized) 2039var newTables = new Tables(newBuckets, newLocks, newCountPerLock, upgradeComparer ?? tables._comparer); 2123private static void AcquirePostFirstLock(Tables tables, ref int locksAcquired) 2254private static Node? GetBucket(Tables tables, int hashcode) 2270private static ref Node? GetBucketAndLock(Tables tables, int hashcode, out uint lockNo) 2341private static bool IsCompatibleKey<TAlternateKey>(ConcurrentDictionary<TKey, TValue>.Tables tables) 2350private static IAlternateEqualityComparer<TAlternateKey, TKey> GetAlternateComparer<TAlternateKey>(ConcurrentDictionary<TKey, TValue>.Tables tables) 2416Tables tables = Dictionary._tables; 2575Tables tables = Dictionary._tables; 2621Tables tables = Dictionary._tables;