Implemented interface member:
property
Count
System.Collections.ICollection.Count
1 override of Count
mscorlib (1)
system\collections\queue.cs (1)
317
public override int
Count
{
93 references to Count
mscorlib (8)
system\collections\queue.cs (3)
187
if (
Count
== 0)
203
if (
Count
== 0)
320
return _q.
Count
;
system\runtime\remoting\synchronizeddispatch.cs (3)
341
if (_workItemQueue.
Count
>= 1)
410
if ( (!_locked) && (_workItemQueue.
Count
== 1) )
429
if ((!_locked) && (_workItemQueue.
Count
== 0))
system\runtime\serialization\formatter.cs (1)
55
if (m_objectQueue.
Count
==0) {
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (1)
1057
if (m_objectQueue.
Count
==0)
PresentationCore (1)
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (1)
277
while (workQueue.
Count
!= 0)
System (17)
compmod\microsoft\win32\SystemEvents.cs (2)
769
if (threadCallbackList.
Count
> 0) {
793
if (threadCallbackList.
Count
> 0) {
compmod\system\codedom\CodeTypeReference.cs (3)
223
if (q.
Count
> 0 ) {
231
while( q.
Count
> 1) {
236
Debug.Assert(q.
Count
== 1 , "We should have one and only one in the rank queue.");
net\System\Net\_ConnectionGroup.cs (1)
378
if (AuthenticationRequestQueue.
Count
== 0) {
net\System\Net\connectionpool.cs (2)
181
while (m_QueuedRequests.
Count
> 0) {
207
if (m_QueuedRequests.
Count
== 0) {
net\System\Net\Sockets\Socket.cs (7)
5079
if (acceptQueue.
Count
== 0)
5135
GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::DoBeginAccept() queue is not empty Count:" + acceptQueue.
Count
.ToString());
5174
if (acceptQueue.
Count
== 0)
5178
if (acceptQueue.
Count
== 0)
5231
if (acceptQueue.
Count
== 0)
5303
if (acceptQueue.
Count
== 0)
6285
if (acceptQueue != null && acceptQueue.
Count
!= 0)
services\monitoring\system\diagnosticts\AsyncStreamReader.cs (2)
273
if( messageQueue.
Count
> 0) {
275
if( messageQueue.
Count
> 0) {
System.Runtime.Remoting (3)
channels\core\requestqueue.cs (2)
59
if (_localQueue.
Count
> 0) {
63
else if (!localOnly && _externQueue.
Count
> 0) {
metadata\wsdlwriter.cs (1)
204
while (_queue.
Count
> 0)
System.Security (1)
system\security\cryptography\xml\transform.cs (1)
1305
if (encryptedDatasQueue.
Count
== 0)
System.Web (16)
FileChangesMonitor.cs (3)
1289
if (s_notificationQueue.
Count
> 0 && s_inNotificationThread == 0 && Interlocked.Exchange(ref s_inNotificationThread, 1) == 0) {
1315
if (s_notificationQueue.
Count
> 0) {
1345
if (s_notificationQueue.
Count
== 0 || Interlocked.Exchange(ref s_inNotificationThread, 1) != 0)
Management\webeventbuffer.cs (6)
228
_buffer.
Count
== 1 && // we just added an event to an empty buffer
326
if (_buffer.
Count
== 0) {
401
toFlush = Math.Min(_buffer.
Count
, max);
445
eventsInBuffer = _buffer.
Count
;
560
if (_buffer.
Count
== _maxBufferSize) {
572
if (_buffer.
Count
>= _urgentFlushThreshold) {
RequestQueue.cs (2)
87
if (_localQueue.
Count
> 0) {
91
else if (!localOnly && _externQueue.
Count
> 0) {
UI\SessionPageStatePersister.cs (1)
129
int queueCount = queue.
Count
;
Util\Profiler.cs (3)
90
get { return _requestsToProfile - _requests.
Count
;}
119
if (_requests.
Count
> _requestsToProfile) _requests.Dequeue();
124
if (!MostRecent && _requests.
Count
>= _requestsToProfile) EndProfiling();
XmlSiteMapProvider.cs (1)
357
if (queue.
Count
== 0) {
System.Windows.Forms (12)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
1120
if (queue.
Count
== 0) {
winforms\Managed\System\WinForms\Control.cs (5)
4431
if (IsDisposed && threadCallbackList != null && threadCallbackList.
Count
> 0) {
4434
while (threadCallbackList.
Count
> 0) {
5969
while (threadCallbackList.
Count
> 0) {
7473
if (threadCallbackList.
Count
> 0) {
7513
if (threadCallbackList.
Count
> 0) {
winforms\Managed\System\WinForms\SendKeys.cs (6)
613
eventsTotal = events.
Count
;
706
while (previousEvents.
Count
> 0)
884
if ((events != null) && (events.
Count
!= 0))
964
while (events != null && events.
Count
> 0) {
1076
if (SendKeys.events != null && SendKeys.events.
Count
> 0) {
1079
SendKeys.stopHook = SendKeys.events == null || SendKeys.events.
Count
== 0;
System.Workflow.Activities (6)
Common\CompModHelpers.cs (4)
191
while (compositeActivities.
Count
> 0)
237
while (compositeActivities.
Count
> 0)
1306
while (activities.
Count
> 0)
1479
while (activities.
Count
> 0)
Common\ValidationHelpers.cs (1)
109
while (activities.
Count
> 0)
Common\Walker.cs (1)
146
while (queue.
Count
> 0)
System.Workflow.ComponentModel (13)
AuthoringOM\Compiler\TypeSystem\CodeDomLoader.cs (1)
57
while (nestedQueue.
Count
!= 0)
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
693
while (compositeDesigners.
Count
> 0)
AuthoringOM\Design\DesignerHelpers.cs (1)
1327
while (nestedComponents.
Count
> 0)
AuthoringOM\Design\IdentifierCreationService.cs (1)
116
while (activities.
Count
> 0)
AuthoringOM\ScheduleChanges.cs (1)
357
while (compositeActivities.
Count
> 0)
Shared\CompModHelpers.cs (4)
189
while (compositeActivities.
Count
> 0)
235
while (compositeActivities.
Count
> 0)
1304
while (activities.
Count
> 0)
1477
while (activities.
Count
> 0)
Shared\ValidationHelpers.cs (1)
108
while (activities.
Count
> 0)
Shared\Walker.cs (1)
145
while (queue.
Count
> 0)
Shared\XomlSerializationHelpers.cs (2)
308
while (activitiesQueue.
Count
> 0)
315
while (childActivities.
Count
> 0)
System.Workflow.Runtime (10)
WorkflowDefinitionDispenser.cs (1)
211
while (compositeActivities.
Count
> 0)
WorkflowQueue.cs (3)
40
qService.NotifyAsynchronousSubscribers(this.queueName, qState, qState.Messages.
Count
);
78
qService.NotifyAsynchronousSubscribers(this.queueName, qState, qState.Messages.
Count
);
191
return this.qService.GetQueueState(this.queueName).Messages.
Count
;
WorkflowQueuingService.cs (6)
115
while (queue.
Count
!= 0)
247
if (queueState.Messages.
Count
!= 0)
270
if (queueState.Messages.
Count
!= 0)
314
return q.
Count
== 1;
335
while (q.
Count
> 0)
385
while (queue.
Count
!= 0)
System.WorkflowServices (1)
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (1)
227
while (compositeActivities.
Count
> 0)
System.Xml (1)
System\Xml\Schema\ContentValidator.cs (1)
1338
while (unmarked.
Count
> 0) {
UIAutomationClient (2)
MS\Internal\Automation\QueueProcessor.cs (1)
169
while (_q.
Count
> 0)
MS\Internal\Automation\WinEventWrap.cs (1)
221
while (_qEvents.
Count
> 0)
UIAutomationClientsideProviders (2)
MS\Internal\AutomationProxies\MSAAWinEventWrap.cs (1)
158
while (_qEvents.
Count
> 0)
MS\Internal\AutomationProxies\QueueProcessor.cs (1)
124
while (_q.
Count
> 0)