5 writes to m_currentCount
mscorlib (5)
system\threading\CountdownEvent.cs (5)
69m_currentCount = initialCount; 199int newCount = Interlocked.Decrement(ref m_currentCount); 256if (Interlocked.CompareExchange(ref m_currentCount, observedCount - signalCount, observedCount) == observedCount) 370if (Interlocked.CompareExchange(ref m_currentCount, observedCount + signalCount, observedCount) == observedCount) 418m_currentCount = count;
6 references to m_currentCount
mscorlib (6)
system\threading\CountdownEvent.cs (6)
91int observedCount = m_currentCount; 119return (m_currentCount <= 0); 194if (m_currentCount <= 0) 245observedCount = m_currentCount; 273Contract.Assert(m_currentCount >= 0, "latch was decremented below zero"); 356observedCount = m_currentCount;