4 writes to m_currentCount
mscorlib (4)
system\threading\SemaphoreSlim.cs (4)
196m_currentCount = initialCount; 405m_currentCount--; 620--m_currentCount; 818m_currentCount = currentCount;
12 references to m_currentCount
mscorlib (12)
system\threading\SemaphoreSlim.cs (12)
112get { return m_currentCount; } 145m_waitHandle = new ManualResetEvent(m_currentCount != 0); 347while (m_currentCount == 0 && !spin.NextSpinWillYield) 379if (m_currentCount == 0) 400Contract.Assert(!waitSuccessful || m_currentCount > 0, 402if (m_currentCount > 0) 413if (m_waitHandle != null && m_currentCount == 0) 454while (m_currentCount == 0) 618if (m_currentCount > 0) 621if (m_waitHandle != null && m_currentCount == 0) m_waitHandle.Reset(); 629Contract.Assert(m_currentCount == 0, "m_currentCount should never be negative"); 774int currentCount = m_currentCount;