6 writes to _writerID
System.Threading (6)
System\Threading\ReaderWriterLock.cs (6)
412
_writerID
= threadID;
435
_writerID
= threadID;
582
_writerID
= InvalidThreadID;
710
_writerID
= threadID;
775
_writerID
= InvalidThreadID;
944
_writerID
= threadID;
12 references to _writerID
System.Threading (12)
System\Threading\ReaderWriterLock.cs (12)
65
public bool IsWriterLockHeld =>
_writerID
== GetCurrentThreadID();
70
if (
_writerID
== GetCurrentThreadID())
102
else if (
_writerID
== GetCurrentThreadID())
292
else if (
_writerID
== threadID)
432
Debug.Assert(
_writerID
== InvalidThreadID);
446
if (
_writerID
== GetCurrentThreadID())
565
if (
_writerID
!= GetCurrentThreadID())
675
if (
_writerID
== threadID)
748
if (
_writerID
!= threadID)
865
Debug.Assert((flags & LockCookieFlags.OwnedWriter) != 0 ||
_writerID
!= threadID);
878
if (
_writerID
== threadID)
920
if (
_writerID
== threadID || ThreadLocalLockEntry.GetCurrent(_lockID) != null)