1 write to m_locks
mscorlib (1)
system\Collections\Concurrent\ConcurrentDictionary.cs (1)
78m_locks = locks;
26 references to m_locks
mscorlib (26)
system\Collections\Concurrent\ConcurrentDictionary.cs (26)
294m_budget = m_tables.m_buckets.Length / m_tables.m_locks.Length; 434GetBucketAndLockNo(comparer.GetHashCode(key), out bucketNo, out lockNo, tables.m_buckets.Length, tables.m_locks.Length); 436lock (tables.m_locks[lockNo]) 507GetBucketAndLockNo(comparer.GetHashCode(key), out bucketNo, out lockNoUnused, tables.m_buckets.Length, tables.m_locks.Length); 559GetBucketAndLockNo(hashcode, out bucketNo, out lockNo, tables.m_buckets.Length, tables.m_locks.Length); 561lock (tables.m_locks[lockNo]) 622Tables newTables = new Tables(new Node[DEFAULT_CAPACITY], m_tables.m_locks, new int[m_tables.m_countPerLock.Length], m_tables.m_comparer); 624m_budget = Math.Max(1, newTables.m_buckets.Length / newTables.m_locks.Length); 666for (int i = 0; i < m_tables.m_locks.Length && count >= 0; i++) 700for (int i = 0; i < m_tables.m_locks.Length; i++) 818GetBucketAndLockNo(hashcode, out bucketNo, out lockNo, tables.m_buckets.Length, tables.m_locks.Length); 831Monitor.Enter(tables.m_locks[lockNo], ref lockTaken); 921Monitor.Exit(tables.m_locks[lockNo]); 1689for (int i = 0; i < tables.m_locks.Length && count >= 0; i++) 1864AcquireLocks(1, tables.m_locks.Length, ref locksAcquired); 1866object[] newLocks = tables.m_locks; 1869if (m_growLockArray && tables.m_locks.Length < MAX_LOCK_NUMBER) 1871newLocks = new object[tables.m_locks.Length * 2]; 1872Array.Copy(tables.m_locks, newLocks, tables.m_locks.Length); 1874for (int i = tables.m_locks.Length; i < newLocks.Length; i++) 1977AcquireLocks(1, m_tables.m_locks.Length, ref locksAcquired); 1978Assert(locksAcquired == m_tables.m_locks.Length); 1989object[] locks = m_tables.m_locks; 2023Monitor.Exit(m_tables.m_locks[i]); 2200m_serializationConcurrencyLevel = tables.m_locks.Length;