2 writes to _readerEvent
System.Threading (2)
System\Threading\ReaderWriterLock.cs (2)
1026
ManualResetEventSlim? previousEvent = Interlocked.CompareExchange(ref
_readerEvent
, currentEvent, null);
1096
_readerEvent
= null;
5 references to _readerEvent
System.Threading (5)
System\Threading\ReaderWriterLock.cs (5)
230
readerEvent =
_readerEvent
;
524
else if (knownState == LockStates.Reader && (
_readerEvent
!= null || _writerEvent != null))
633
else if (knownState == LockStates.Writer && (
_readerEvent
!= null || _writerEvent != null))
1019
ManualResetEventSlim? currentEvent =
_readerEvent
;
1095
ManualResetEventSlim? readerEvent =
_readerEvent
;