Implemented interface members:
property
Count
System.Collections.Generic.IReadOnlyCollection<T>.Count
property
Count
System.Collections.ICollection.Count
14 references to Count
mscorlib (7)
parent\parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (5)
134PinnableBufferCacheEventSource.Log.WalkFreeListResult(m_CacheName, m_FreeList.Count, nonGen2Count); 139PinnableBufferCacheEventSource.Log.AllocateBuffer(m_CacheName, PinnableBufferCacheEventSource.AddressOf(returnBuffer), returnBuffer.GetHashCode(), GC.GetGeneration(returnBuffer), m_FreeList.Count); 156PinnableBufferCacheEventSource.Log.FreeBuffer(m_CacheName, PinnableBufferCacheEventSource.AddressOf(buffer), buffer.GetHashCode(), m_FreeList.Count); 161PinnableBufferCacheEventSource.Log.FreeBufferNull(m_CacheName, m_FreeList.Count); 369var freeCount = m_FreeList.Count; // This is expensive to fetch, do it once.
system\Collections\Concurrent\ConcurrentStack.cs (2)
180/// rather than retrieving the number of items from the <see cref="Count"/> property and comparing it 200/// property is recommended rather than retrieving the number of items from the <see cref="Count"/>
System (5)
parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (5)
134PinnableBufferCacheEventSource.Log.WalkFreeListResult(m_CacheName, m_FreeList.Count, nonGen2Count); 139PinnableBufferCacheEventSource.Log.AllocateBuffer(m_CacheName, PinnableBufferCacheEventSource.AddressOf(returnBuffer), returnBuffer.GetHashCode(), GC.GetGeneration(returnBuffer), m_FreeList.Count); 156PinnableBufferCacheEventSource.Log.FreeBuffer(m_CacheName, PinnableBufferCacheEventSource.AddressOf(buffer), buffer.GetHashCode(), m_FreeList.Count); 161PinnableBufferCacheEventSource.Log.FreeBufferNull(m_CacheName, m_FreeList.Count); 369var freeCount = m_FreeList.Count; // This is expensive to fetch, do it once.
System.Data (2)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (2)
548int freeObjects = (_stackNew.Count + _stackOld.Count);