Implemented interface members:
property
Count
System.Collections.Generic.IReadOnlyCollection<T>.Count
property
Count
System.Collections.ICollection.Count
10 references to Count
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
255
if (stack.
Count
> Threshold)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
255
if (stack.
Count
> Threshold)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (1)
255
if (stack.
Count
> Threshold)
System.Collections.Concurrent (2)
System\Collections\Concurrent\ConcurrentStack.cs (2)
111
/// rather than retrieving the number of items from the <see cref="
Count
"/> property and comparing it
131
/// property is recommended rather than retrieving the number of items from the <see cref="
Count
"/>
System.Data.Odbc (2)
Common\System\Data\ProviderBase\DbConnectionPool.cs (2)
214
int freeObjects = (_stackNew.
Count
+ _stackOld.
Count
);
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (3)
104
int connectionCount = _http11Connections.
Count
;
233
Trace($"Available HTTP/1.1 connections: {_http11Connections.
Count
}, Requests in the queue: {_http11RequestQueue.Count}, " +
436
Debug.Assert(connections.
Count
<= pool._associatedHttp11ConnectionCount);