13 references to Count
System.Activities (13)
System\Activities\ActivityUtilities.cs (1)
1334return this.callStack.Count;
System\Activities\Runtime\ActivityExecutor.cs (4)
497return this.transactionContextWaiters != null && this.transactionContextWaiters.Count > 0 && this.transactionContextWaiters[0].IsRequires; 675if (this.transactionContextWaiters != null && this.transactionContextWaiters.Count > 0) 1223Fx.Assert(this.transactionContextWaiters.Count == 0 || !this.transactionContextWaiters[0].IsRequires, "Either we don't have any waiters or the first one better not be IsRequires == true"); 2401if (this.transactionContextWaiters != null && this.transactionContextWaiters.Count > 0)
System\Activities\Runtime\Scheduler.cs (6)
95if (this.workItemQueue != null && this.workItemQueue.Count > 0) 123if (this.workItemQueue != null && this.workItemQueue.Count > 0) 125for (int i = 0; i < this.workItemQueue.Count; i++) 151while (this.workItemQueue.Count > 0) 159Fx.Assert(this.workItemQueue == null || this.workItemQueue.Count == 0, "We either didn't have a first work item and therefore don't have anything in the queue, or we drained the queue."); 431if (thisPtr.workItemQueue != null && thisPtr.workItemQueue.Count > 0)
System\Activities\WorkflowApplication.cs (2)
569if (this.pendingOperations.Count > 0) 593for (int i = 0; i < this.pendingOperations.Count; i++)