6 writes to IsInstanceValid
System.Workflow.Runtime (6)
WorkflowExecutor.cs (5)
287
IsInstanceValid
= true;
1113
this.
IsInstanceValid
= false;
1541
this.
IsInstanceValid
= false;
1718
this.
IsInstanceValid
= false;
1848
this.
IsInstanceValid
= false;
WorkflowRuntime.cs (1)
529
oldWorkflowExecutor.
IsInstanceValid
= false;
73 references to IsInstanceValid
System.Workflow.Runtime (73)
DebugEngine\DebugController.cs (2)
420
if (executor.
IsInstanceValid
)
887
if (!executor.
IsInstanceValid
)
Lock.cs (1)
267
if (!workflowExec.
IsInstanceValid
&& (workflowExec.WorkflowStatus == WorkflowStatus.Completed || workflowExec.WorkflowStatus == WorkflowStatus.Terminated))
Tracking.cs (1)
305
if (!exec.
IsInstanceValid
)
WorkflowExecutor.cs (33)
650
if (this.
IsInstanceValid
)
667
if (this.
IsInstanceValid
)
673
if (!this.
IsInstanceValid
)
721
if (!this.
IsInstanceValid
)
784
if (!this.
IsInstanceValid
)
821
if (!this.
IsInstanceValid
)
829
WorkflowTrace.Runtime.TraceEvent(TraceEventType.Information, 0, "WorkflowExecutor: unloaded workflow instance '{0}'. IsInstanceValid={1}", this.InstanceIdString,
IsInstanceValid
);
965
else if (this.WorkflowStatus != WorkflowStatus.Suspended && this.
IsInstanceValid
)
1233
if (!this.
IsInstanceValid
)
1276
if (!this.
IsInstanceValid
)
1286
if (!this.
IsInstanceValid
)
1293
if (!this.
IsInstanceValid
)
1440
if (!this.
IsInstanceValid
)
1469
if (!this.
IsInstanceValid
)
1536
WorkflowTrace.Runtime.TraceEvent(TraceEventType.Information, 0, InstanceId + ": Returning from Persist: InstanceId {0}, hc: {1}, IsInstanceValid={2}", InstanceIdString, this.GetHashCode(),
IsInstanceValid
);
1581
if (!this.
IsInstanceValid
)
1592
WorkflowTrace.Runtime.TraceEvent(TraceEventType.Information, 0, InstanceId + ": Returning from PerformUnloading(false): IsInstanceValue: " +
IsInstanceValid
);
1643
if (!this.
IsInstanceValid
)
1665
if (!this.
IsInstanceValid
)
1716
Debug.Assert(this.
IsInstanceValid
);
1779
if (!this.
IsInstanceValid
)
1803
if (!this.
IsInstanceValid
)
1873
if (!this.
IsInstanceValid
)
1881
if (!this.
IsInstanceValid
)
1895
if (!this.
IsInstanceValid
)
1916
if (!this.
IsInstanceValid
)
1979
if (!this.
IsInstanceValid
)
1988
if (!this.
IsInstanceValid
)
2027
if (!this.
IsInstanceValid
)
2663
if (!this.
IsInstanceValid
)
2677
if (!this.
IsInstanceValid
)
2689
if (!this.
IsInstanceValid
)
2742
if (!this.
IsInstanceValid
)
WorkflowInstance.cs (31)
75
if (executor.
IsInstanceValid
)
83
if (executor.
IsInstanceValid
)
95
if (executor.
IsInstanceValid
)
103
if (executor.
IsInstanceValid
)
115
if (executor.
IsInstanceValid
)
126
if (executor.
IsInstanceValid
)
148
if (executor.
IsInstanceValid
)
156
if (executor.
IsInstanceValid
)
172
if (executor.
IsInstanceValid
)
183
if (executor.
IsInstanceValid
)
213
if (executor.
IsInstanceValid
)
222
if (executor.
IsInstanceValid
)
250
if (executor.
IsInstanceValid
)
259
if (executor.
IsInstanceValid
)
287
if (executor != null && executor.
IsInstanceValid
)
296
if (executor.
IsInstanceValid
)
311
if (executor.
IsInstanceValid
)
320
if (executor.
IsInstanceValid
)
335
if (executor.
IsInstanceValid
)
347
if (executor.
IsInstanceValid
)
362
if (executor.
IsInstanceValid
)
371
if (executor.
IsInstanceValid
)
386
if (executor.
IsInstanceValid
)
395
if (executor.
IsInstanceValid
)
417
if (executor.
IsInstanceValid
)
431
if (executor.
IsInstanceValid
)
440
if (executor.
IsInstanceValid
)
453
if (executor.
IsInstanceValid
)
461
if (executor.
IsInstanceValid
)
489
if (executor.
IsInstanceValid
)
498
if (executor.
IsInstanceValid
)
WorkflowRuntime.cs (4)
482
if (executor.
IsInstanceValid
)
1314
if (executor.
IsInstanceValid
)
1334
if (executor.
IsInstanceValid
)
1603
if ((null != executor) && (executor.
IsInstanceValid
))
WorkflowStateRollbackService.cs (1)
131
Debug.Assert(this.workflowExecutor.
IsInstanceValid
);