1 write to _locks
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (1)
2276
_locks
= locks;
19 references to _locks
System.Private.CoreLib (19)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (19)
352
_budget = tables._buckets.Length / tables.
_locks
.Length;
449
object[] locks = tables.
_locks
;
644
object[] locks = tables.
_locks
;
725
var newTables = new Tables(new VolatileNode[HashHelpers.GetPrime(_initialCapacity)], tables.
_locks
, new int[tables._countPerLock.Length], tables._comparer);
727
_budget = Math.Max(1, newTables._buckets.Length / newTables.
_locks
.Length);
930
object[] locks = tables.
_locks
;
1999
object[] newLocks = tables.
_locks
;
2002
if (_growLockArray && tables.
_locks
.Length < MaxLockNumber)
2004
newLocks = new object[tables.
_locks
.Length * 2];
2005
Array.Copy(tables.
_locks
, newLocks, tables.
_locks
.Length);
2006
for (int i = tables.
_locks
.Length; i < newLocks.Length; i++)
2066
Debug.Assert(locksAcquired == _tables.
_locks
.Length);
2078
object[] locks = _tables.
_locks
;
2095
object[] locks = tables.
_locks
;
2114
object[] locks = _tables.
_locks
;
2252
lockNo = bucketNo % (uint)tables.
_locks
.Length; // doesn't use FastMod, as it would require maintaining a different multiplier
2393
object[] locks = tables.
_locks
;
2597
object[] locks = tables.
_locks
;