13 references to Count
System.Activities (13)
System\Activities\ActivityUtilities.cs (1)
1334
return this.callStack.
Count
;
System\Activities\Runtime\ActivityExecutor.cs (4)
497
return this.transactionContextWaiters != null && this.transactionContextWaiters.
Count
> 0 && this.transactionContextWaiters[0].IsRequires;
675
if (this.transactionContextWaiters != null && this.transactionContextWaiters.
Count
> 0)
1223
Fx.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");
2401
if (this.transactionContextWaiters != null && this.transactionContextWaiters.
Count
> 0)
System\Activities\Runtime\Scheduler.cs (6)
95
if (this.workItemQueue != null && this.workItemQueue.
Count
> 0)
123
if (this.workItemQueue != null && this.workItemQueue.
Count
> 0)
125
for (int i = 0; i < this.workItemQueue.
Count
; i++)
151
while (this.workItemQueue.
Count
> 0)
159
Fx.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.");
431
if (thisPtr.workItemQueue != null && thisPtr.workItemQueue.
Count
> 0)
System\Activities\WorkflowApplication.cs (2)
569
if (this.pendingOperations.
Count
> 0)
593
for (int i = 0; i < this.pendingOperations.
Count
; i++)