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