1 write to _lock
System.Private.CoreLib (1)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierW.cs (1)
78
_lock
= new Lock(useTrivialWaits: true);
6 references to _lock
System.Private.CoreLib (6)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierW.cs (6)
92
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.");
140
using (
_lock
.EnterScope())
204
Debug.Assert(_owner.
_lock
.IsHeldByCurrentThread);
254
Debug.Assert(_owner.
_lock
.IsHeldByCurrentThread);
261
Debug.Assert(_owner.
_lock
.IsHeldByCurrentThread);
344
Debug.Assert(_owner.
_lock
.IsHeldByCurrentThread);