2 writes to executingSecondaryRootInstances
System.Activities (2)
System\Activities\Runtime\ActivityExecutor.cs (2)
731
this.
executingSecondaryRootInstances
= value;
2769
this.
executingSecondaryRootInstances
= new List<ActivityInstance>();
27 references to executingSecondaryRootInstances
System.Activities (27)
System\Activities\Runtime\ActivityExecutor.cs (27)
343
if ((this.
executingSecondaryRootInstances
!= null && this.
executingSecondaryRootInstances
.Count > 0) ||
719
if (this.
executingSecondaryRootInstances
!= null && this.
executingSecondaryRootInstances
.Count > 0)
721
return this.
executingSecondaryRootInstances
;
772
if (this.
executingSecondaryRootInstances
!= null && this.
executingSecondaryRootInstances
.Count > 0)
774
foreach (ActivityInstance secondaryRoot in this.
executingSecondaryRootInstances
)
850
this.instanceMap.GetActivitiesBlockingUpdate(updateMap, this.
executingSecondaryRootInstances
, ref result);
857
this.instanceMap.UpdateRawInstance(updateMap, targetDefinition, this.
executingSecondaryRootInstances
, ref updateErrors);
1420
if (this.
executingSecondaryRootInstances
!= null)
1424
for (int i = this.
executingSecondaryRootInstances
.Count - 1; i >= 0; i--)
1426
ActivityInstance secondaryRootInstance = this.
executingSecondaryRootInstances
[i];
1432
Fx.Assert(this.
executingSecondaryRootInstances
.Count == i, "We are always working from the back and we should have removed the item we just aborted.");
1798
this.instanceMap.LoadActivityTree(workflow, this.rootInstance, this.
executingSecondaryRootInstances
, this);
1802
if (this.
executingSecondaryRootInstances
!= null)
1804
Fx.Assert(this.
executingSecondaryRootInstances
.Count > 0, "We don't serialize out an empty list.");
1806
for (int i = 0; i < this.
executingSecondaryRootInstances
.Count; i++)
1808
ActivityInstance secondaryRoot = this.
executingSecondaryRootInstances
[i];
2294
Fx.Assert(this.
executingSecondaryRootInstances
.Contains(completedInstance), "An instance which is not the main root and doesn't have an execution parent must be an executing secondary root.");
2295
this.
executingSecondaryRootInstances
.Remove(completedInstance);
2302
&& (this.
executingSecondaryRootInstances
== null || this.
executingSecondaryRootInstances
.Count == 0))
2434
if (this.
executingSecondaryRootInstances
== null || this.
executingSecondaryRootInstances
.Count == 0)
2767
if (this.
executingSecondaryRootInstances
== null)
2772
this.
executingSecondaryRootInstances
.Add(secondaryRoot);