4 writes to m_combinedState
mscorlib (4)
system\threading\ManualResetEventSlim.cs (4)
152m_combinedState = (m_combinedState & ~SpinCountState_BitMask) | (value << SpinCountState_ShiftCount); 244this.m_combinedState = initialState ? (1 << SignalledState_ShiftCount) : 0; 718m_combinedState |= Dispose_BitMask; //set the dispose bit 782if (Interlocked.CompareExchange(ref m_combinedState, newState, oldState) == oldState)
7 references to m_combinedState
mscorlib (7)
system\threading\ManualResetEventSlim.cs (7)
128return 0 != ExtractStatePortion(m_combinedState, SignalledState_BitMask); 144return ExtractStatePortionAndShiftRight(m_combinedState, SpinCountState_BitMask, SpinCountState_ShiftCount); 152m_combinedState = (m_combinedState & ~SpinCountState_BitMask) | (value << SpinCountState_ShiftCount); 163return ExtractStatePortionAndShiftRight(m_combinedState, NumWaitersState_BitMask, NumWaitersState_ShiftCount); 715if ((m_combinedState & Dispose_BitMask) != 0) 740if ((m_combinedState & Dispose_BitMask) != 0) 776int oldState = m_combinedState; // cache the old value for testing in CAS