3 writes to currentAtomicActivity
System.Workflow.Runtime (3)
WorkflowExecutor.cs (3)
1821
this.
currentAtomicActivity
= null;
2118
this.
currentAtomicActivity
= atomicActivity;
2276
this.
currentAtomicActivity
= null;
22 references to currentAtomicActivity
System.Workflow.Runtime (22)
WorkflowExecutor.cs (22)
834
if (this.ResourceManager.IsBatchDirty && this.
currentAtomicActivity
== null)
858
if (this.
currentAtomicActivity
!= null)
861
TransactionalProperties transactionalProperties = (TransactionalProperties)this.
currentAtomicActivity
.GetValue(TransactionalPropertiesProperty);
1093
if (this.
currentAtomicActivity
!= null || this.ResourceManager.IsBatchDirty || (unlock && HasNonEmptyWorkBatch()))
1425
get { return ((this.
currentAtomicActivity
== null) && (this.Scheduler.IsStalledNow || this.WorkflowStatus == WorkflowStatus.Suspended)); }
1587
if (this.
currentAtomicActivity
== null)
1721
if (
currentAtomicActivity
!= null)
1818
if (this.
currentAtomicActivity
!= null)
1820
this.RollbackTransaction(null, this.
currentAtomicActivity
);
1850
if (
currentAtomicActivity
!= null)
1920
if (this.
currentAtomicActivity
!= null)
2071
if (activity == this.
currentAtomicActivity
)
2083
Debug.Assert(this.
currentAtomicActivity
== null, "There is already a transacted activity running");
2181
bool inTxScope = (activityContext == this.
currentAtomicActivity
);
2302
if (activityContext == this.
currentAtomicActivity
)
2304
Debug.Assert((activityContext == this.
currentAtomicActivity
),
2305
"Activity context " + activityContext.Name + " different from currentAtomicActivity " + this.
currentAtomicActivity
.Name);
2342
DisposeTransaction(this.
currentAtomicActivity
);
2490
((this.
currentAtomicActivity
== null) ? null : this.
currentAtomicActivity
.Name));
2666
if (this.
currentAtomicActivity
!= null)
2828
return this.
currentAtomicActivity
;