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