1 write to _locks
MSBuildTaskHost (1)
Concurrent\ConcurrentDictionary.cs (1)
32_locks = locks;
12 references to _locks
MSBuildTaskHost (12)
Concurrent\ConcurrentDictionary.cs (12)
169GetBucketAndLockNo(hashcode, out bucketNo, out lockNo, tables._buckets.Length, tables._locks.Length); 177lockTaken = Monitor.TryEnter(tables._locks[lockNo]); 247Monitor.Exit(tables._locks[lockNo]); 400AcquireLocks(1, tables._locks.Length, ref locksAcquired); 402object[] newLocks = tables._locks; 405if (_growLockArray && tables._locks.Length < MaxLockNumber) 407newLocks = new object[tables._locks.Length * 2]; 408Array.Copy(tables._locks, 0, newLocks, 0, tables._locks.Length); 409for (int i = tables._locks.Length; i < newLocks.Length; i++) 482object[] locks = _tables._locks; 510Monitor.Exit(_tables._locks[i]);