4 writes to m_combinedState
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Threading\ManualResetEventSlim.cs (4)
114m_combinedState = (m_combinedState & ~SpinCountState_BitMask) | (value << SpinCountState_ShiftCount); 192m_combinedState = initialState ? (1 << SignalledState_ShiftCount) : 0; 633m_combinedState |= Dispose_BitMask; // set the dispose bit 690if (Interlocked.CompareExchange(ref m_combinedState, newState, oldState) == oldState)
7 references to m_combinedState
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Threading\ManualResetEventSlim.cs (7)
99get => 0 != ExtractStatePortion(m_combinedState, SignalledState_BitMask); 108get => ExtractStatePortionAndShiftRight(m_combinedState, SpinCountState_BitMask, SpinCountState_ShiftCount); 114m_combinedState = (m_combinedState & ~SpinCountState_BitMask) | (value << SpinCountState_ShiftCount); 123get => ExtractStatePortionAndShiftRight(m_combinedState, NumWaitersState_BitMask, NumWaitersState_ShiftCount); 630if ((m_combinedState & Dispose_BitMask) != 0) 650private bool IsDisposed => (m_combinedState & Dispose_BitMask) != 0; 684int oldState = m_combinedState; // cache the old value for testing in CAS