3 writes to m_currentAdders
System (3)
sys\system\collections\concurrent\BlockingCollection.cs (3)
476if (Interlocked.CompareExchange(ref m_currentAdders, observedAdders + 1, observedAdders) == observedAdders) 531Interlocked.Decrement(ref m_currentAdders); 1509if (Interlocked.CompareExchange(ref m_currentAdders, observedAdders | COMPLETE_ADDING_ON_MASK, observedAdders) == observedAdders)
7 references to m_currentAdders
System (7)
sys\system\collections\concurrent\BlockingCollection.cs (7)
93return (m_currentAdders == COMPLETE_ADDING_ON_MASK); 468int observedAdders = m_currentAdders; 473while (m_currentAdders != COMPLETE_ADDING_ON_MASK) spinner.SpinOnce(); 530Debug.Assert((m_currentAdders & ~COMPLETE_ADDING_ON_MASK) > 0); 1500int observedAdders = m_currentAdders; 1505while (m_currentAdders != COMPLETE_ADDING_ON_MASK) spinner.SpinOnce(); 1512while (m_currentAdders != COMPLETE_ADDING_ON_MASK) spinner.SpinOnce();