1 write to _locks
MSBuildTaskHost (1)
Concurrent\ConcurrentDictionary.cs (1)
32
_locks
= locks;
12 references to _locks
MSBuildTaskHost (12)
Concurrent\ConcurrentDictionary.cs (12)
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++)
482
object[] locks = _tables.
_locks
;
510
Monitor.Exit(_tables.
_locks
[i]);