1 write to _lock
System.Private.CoreLib (1)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierWKeyed.cs (1)
87
_lock
= new Lock(useTrivialWaits: true);
6 references to _lock
System.Private.CoreLib (6)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierWKeyed.cs (6)
101
Debug.Assert(!
_lock
.IsHeldByCurrentThread, "GetOrAdd called while lock already acquired. A possible cause of this is an Equals or GetHashCode method that causes reentrancy in the table.");
149
using (
_lock
.EnterScope())
215
Debug.Assert(_owner.
_lock
.IsHeldByCurrentThread);
236
Debug.Assert(_owner.
_lock
.IsHeldByCurrentThread);
243
Debug.Assert(_owner.
_lock
.IsHeldByCurrentThread);
325
Debug.Assert(_owner.
_lock
.IsHeldByCurrentThread);