26 references to ReadersMask
System.Threading (26)
System\Threading\ReaderWriterLock.cs (26)
92
Debug.Assert((_state & LockStates.
ReadersMask
) != 0);
117
if (knownState < LockStates.
ReadersMask
||
125
(knownState & LockStates.
ReadersMask
) +
127
) <= LockStates.
ReadersMask
- 2
144
if ((knownState & LockStates.
ReadersMask
) == LockStates.
ReadersMask
||
150
if ((knownState & LockStates.
ReadersMask
) == LockStates.
ReadersMask
||
208
Debug.Assert((_state & LockStates.
ReadersMask
) < LockStates.
ReadersMask
);
237
Debug.Assert((_state & LockStates.
ReadersMask
) < LockStates.
ReadersMask
);
259
Debug.Assert((knownState & LockStates.
ReadersMask
) < LockStates.
ReadersMask
);
273
Debug.Assert((_state & LockStates.
ReadersMask
) != 0);
289
Debug.Assert((_state & LockStates.
ReadersMask
) == 0);
431
Debug.Assert((_state & LockStates.
ReadersMask
) == 0);
459
Debug.Assert((_state & LockStates.
ReadersMask
) != 0);
482
if ((knownState & (LockStates.
ReadersMask
| LockStates.ReaderSignaled)) == LockStates.Reader)
532
Debug.Assert((knownState & LockStates.
ReadersMask
) != 0);
570
Debug.Assert((_state & LockStates.
ReadersMask
) == 0);
639
Debug.Assert((knownState & LockStates.
ReadersMask
) == 0);
694
Debug.Assert((_state & LockStates.
ReadersMask
) != 0);
810
Debug.Assert((knownState & LockStates.
ReadersMask
) == 0);
897
Debug.Assert((_state & LockStates.
ReadersMask
) != 0);
957
if (knownState < LockStates.
ReadersMask
&&