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