8 references to CurrentCount
System (3)
sys\system\collections\concurrent\BlockingCollection.cs (3)
106
return (IsAddingCompleted && (m_occupiedNodes.
CurrentCount
== 0));
119
return m_occupiedNodes.
CurrentCount
;
1371
if (!collections[i].IsCompleted && collections[i].m_occupiedNodes.
CurrentCount
> 0 && collections[i].TryTake(out item))
System.Data (5)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (5)
227
if (canReleaseFromAnyThread || semaphore.
CurrentCount
==0) {
244
if ((canReleaseFromAnyThread) || (semaphore.
CurrentCount
== 0)) {
271
if (semaphore.
CurrentCount
==0) { // semaphore methods were used for locking
282
return semaphore.
CurrentCount
==0;
288
return Monitor.IsEntered(semaphore) || semaphore.
CurrentCount
== 0;