2 writes to _isLocked
System.Core (2)
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (2)
1637
return Interlocked.CompareExchange(ref
_isLocked
, 1, 0) == 0;
1705
Volatile.Write(ref
_isLocked
, 0);
2 references to _isLocked
System.Core (2)
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (2)
1675
if (
_isLocked
== 0 && TryEnter())
1704
Debug.Assert(
_isLocked
!= 0, "Exiting spin lock that is not held");