36 references to Parent
System.Activities (36)
System\Activities\ActivityInstance.cs (5)
641if (this.Parent != null) 643this.Parent.RemoveChild(this); 806Fx.Assert(this.Parent == null, "Can only generate a map from a root instance."); 1736Fx.Assert(!this.current.Parent.GetChildren().Contains(this.current), "We should always have removed the current one from the parent's list by now."); 1738this.current = this.current.Parent;
System\Activities\ActivityUtilities.cs (1)
109walker = walker.Parent;
System\Activities\Debugger\DebugController.cs (2)
70while (instance.Parent != null) 73instance = instance.Parent;
System\Activities\Debugger\DebugManager.cs (2)
529ActivityInstance instanceParent = instance.Parent; 533instanceParent = instanceParent.Parent;
System\Activities\Expressions\CompiledExpressionInvoker.cs (1)
209current = current.Parent;
System\Activities\NativeActivityContext.cs (3)
191if (!object.ReferenceEquals(activity.Parent, this.CurrentInstance)) 243if (!object.ReferenceEquals(activityInstance.Parent, this.CurrentInstance)) 2277currentActivityInstance = currentActivityInstance.Parent;
System\Activities\Runtime\ActivityExecutor.cs (11)
1648AddTrackingRecord(new CancelRequestedRecord(this.WorkflowInstanceId, activityInstance.Parent, activityInstance)); 1711exceptionPropagator = exceptionPropagator.Parent; 1721exceptionPropagator.Parent, 1726this.scheduler.PushWork(targetBookmark.GenerateWorkItem(exception, exceptionPropagator, CreateActivityInstanceReference(workItem.OriginalExceptionSource, exceptionPropagator.Parent))); 2136else if (instance.Parent != null) 2280if (completedInstance.Parent == null) 2330return instance.Parent == null && instance != this.rootInstance; 2506else if (completedInstance.Parent != null) 2510if (completedInstance.State != ActivityInstanceState.Closed && completedInstance.Parent.HasNotExecuted) 2512completedInstance.Parent.SetInitializationIncomplete(); 2515this.scheduler.PushWork(CreateEmptyWorkItem(completedInstance.Parent));
System\Activities\Runtime\CompletionBookmark.cs (3)
50if (completedInstance.State != ActivityInstanceState.Closed && completedInstance.Parent.HasNotExecuted) 52completedInstance.Parent.SetInitializationIncomplete(); 55return new EmptyWithCancelationCheckWorkItem(completedInstance.Parent, completedInstance);
System\Activities\Runtime\ExecutionPropertyManager.cs (3)
64if (owningInstance.Parent == null) 211if (currentManager.owningInstance.Parent != null) 213return currentManager.owningInstance.Parent.PropertyManager;
System\Activities\Tracking\ActivityStateRecord.cs (1)
252currentInstance = currentInstance.Parent;
System\Activities\XamlIntegration\CompiledDataContext.cs (2)
163if (currentInstance.Parent == null) 168currentInstance = currentInstance.Parent;
System\Activities\XamlIntegration\CompiledLocation.cs (2)
57while (this.rootInstance.Parent != null) 59this.rootInstance = this.rootInstance.Parent;