1 write to _locks
MSBuildTaskHost (1)
Concurrent\ConcurrentDictionary.cs (1)
32_locks = locks;
14 references to _locks
MSBuildTaskHost (14)
Concurrent\ConcurrentDictionary.cs (14)
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++) 486AcquireLocks(1, _tables._locks.Length, ref locksAcquired); 487Debug.Assert(locksAcquired == _tables._locks.Length); 498object[] locks = _tables._locks; 526Monitor.Exit(_tables._locks[i]);