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)
92Debug.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."); 140using (_lock.EnterScope()) 204Debug.Assert(_owner._lock.IsHeldByCurrentThread); 254Debug.Assert(_owner._lock.IsHeldByCurrentThread); 261Debug.Assert(_owner._lock.IsHeldByCurrentThread); 344Debug.Assert(_owner._lock.IsHeldByCurrentThread);