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)
65public bool IsWriterLockHeld => _writerID == GetCurrentThreadID(); 70if (_writerID == GetCurrentThreadID()) 102else if (_writerID == GetCurrentThreadID()) 292else if (_writerID == threadID) 432Debug.Assert(_writerID == InvalidThreadID); 446if (_writerID == GetCurrentThreadID()) 565if (_writerID != GetCurrentThreadID()) 675if (_writerID == threadID) 748if (_writerID != threadID) 865Debug.Assert((flags & LockCookieFlags.OwnedWriter) != 0 || _writerID != threadID); 878if (_writerID == threadID) 920if (_writerID == threadID || ThreadLocalLockEntry.GetCurrent(_lockID) != null)