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