10 writes to _readerLevel
System.Threading (10)
System\Threading\ReaderWriterLock.cs (10)
98
++threadLocalLockEntry.
_readerLevel
;
244
++threadLocalLockEntry.
_readerLevel
;
274
++threadLocalLockEntry.
_readerLevel
;
462
--threadLocalLockEntry.
_readerLevel
;
706
threadLocalLockEntry.
_readerLevel
= 0;
717
threadLocalLockEntry.
_readerLevel
= 1;
823
threadLocalLockEntry.
_readerLevel
= lockCookie._readerLevel;
905
threadLocalLockEntry.
_readerLevel
= 1;
961
threadLocalLockEntry.
_readerLevel
= lockCookie._readerLevel;
996
threadLocalLockEntry.
_readerLevel
= lockCookie._readerLevel;
11 references to _readerLevel
System.Threading (11)
System\Threading\ReaderWriterLock.cs (11)
59
return threadLocalLockEntry.
_readerLevel
> 0;
87
Debug.Assert(threadLocalLockEntry.
_readerLevel
== 0);
90
else if (threadLocalLockEntry.
_readerLevel
> 0)
94
if (threadLocalLockEntry.
_readerLevel
== MaxAcquireCount)
460
Debug.Assert(threadLocalLockEntry.
_readerLevel
> 0);
463
if (threadLocalLockEntry.
_readerLevel
> 0)
695
Debug.Assert(threadLocalLockEntry.
_readerLevel
> 0);
699
lockCookie._readerLevel = threadLocalLockEntry.
_readerLevel
;
898
Debug.Assert(threadLocalLockEntry.
_readerLevel
> 0);
902
lockCookie._readerLevel = threadLocalLockEntry.
_readerLevel
;
1220
public bool IsFree =>
_readerLevel
== 0;