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