4 writes to workItemQueue
System.Activities (4)
System\Activities\Runtime\Scheduler.cs (4)
109
this.
workItemQueue
= new Quack<WorkItem>(value);
162
this.
workItemQueue
= null;
351
this.
workItemQueue
= new Quack<WorkItem>();
377
this.
workItemQueue
= new Quack<WorkItem>();
20 references to workItemQueue
System.Activities (20)
System\Activities\Runtime\Scheduler.cs (20)
95
if (this.
workItemQueue
!= null && this.
workItemQueue
.Count > 0)
97
return this.
workItemQueue
.ToArray();
123
if (this.
workItemQueue
!= null && this.
workItemQueue
.Count > 0)
125
for (int i = 0; i < this.
workItemQueue
.Count; i++)
127
activityReference = this.
workItemQueue
[i] as ActivityInstanceMap.IActivityReference;
149
if (this.
workItemQueue
!= null)
151
while (this.
workItemQueue
.Count > 0)
153
WorkItem item = this.
workItemQueue
.Dequeue();
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.");
168
Fx.Assert(this.firstWorkItem != null || this.
workItemQueue
== null, "cannot have items in the queue unless we also have a firstWorkItem set");
349
if (this.
workItemQueue
== null)
354
this.
workItemQueue
.PushFront(this.firstWorkItem);
375
if (this.
workItemQueue
== null)
380
this.
workItemQueue
.Enqueue(workItem);
431
if (thisPtr.
workItemQueue
!= null && thisPtr.
workItemQueue
.Count > 0)
433
thisPtr.firstWorkItem = thisPtr.
workItemQueue
.Dequeue();