System\Activities\ActivityInstance.cs (7)
903private bool InternalTryPopulateArgumentValueOrScheduleExpression(RuntimeArgument argument, int nextArgumentIndex, ActivityExecutor executor, IDictionary<string, object> argumentValueOverrides, Location resultLocation, bool isDynamicUpdate)
917Location location = this.environment.GetSpecificLocation(argument.Id);
951internal bool ResolveArguments(ActivityExecutor executor, IDictionary<string, object> argumentValueOverrides, Location resultLocation, int startIndex = 0)
970Location location = this.environment.GetSpecificLocation(argument.Id);
1079Location variableLocation = this.Environment.GetSpecificLocation(variable.Id);
1095void EnqueueVariableDefault(ActivityExecutor executor, Variable variable, Location variableLocation)
1236Location location;
System\Activities\Runtime\ActivityExecutor.cs (13)
92Location ignorableResultLocation;
871public void ExecuteInResolutionContextUntyped(ActivityInstance parentInstance, ActivityWithResult expressionActivity, long instanceId, Location resultLocation)
946internal Location GetIgnorableResultLocation(RuntimeArgument resultArgument)
2358Location location = this.rootEnvironment.GetSpecificLocation(argument.BoundArgument.Id);
2813Location newLocation = runtimeArgument.BoundArgument.CreateLocation();
2888IDictionary<string, object> argumentValueOverrides, Location resultLocation)
2908internal void ScheduleExpression(ActivityWithResult activity, ActivityInstance parent, LocationEnvironment parentEnvironment, Location resultLocation, ResolveNextArgumentWorkItem nextArgumentWorkItem)
2938void ScheduleExpression(ActivityWithResult activity, ActivityInstance parent, Location resultLocation, ResolveNextArgumentWorkItem nextArgumentWorkItem, long instanceId)
2978IDictionary<string, object> argumentValueOverrides, Location resultLocation)
3473protected bool ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
3540Location resultLocation;
3542public ExecuteExpressionWorkItem(ActivityInstance activityInstance, bool requiresSymbolResolution, IDictionary<string, object> argumentValueOverrides, Location resultLocation)
3550internal Location SerializedResultLocation
System\Activities\Runtime\LocationEnvironment.cs (34)
25IList<Location> locationsToUnregister;
28Location[] locations;
32Location singleLocation;
64this.locations = new Location[capacity];
69internal Location[] SerializedLocations
90internal Location SerializedSingleLocation
272Location location = this.locations[i];
315Location location = GetSpecificLocation(variable.Id);
337internal void DeclareHandle(LocationReference locationReference, Location location, ActivityInstance activityInstance)
345where T : Location
347Location locationToDeclare = new Location<T>();
353internal void Declare(LocationReference locationReference, Location location, ActivityInstance activityInstance)
380internal Location GetSpecificLocation(int id)
409Location referenceLocation = this.locations[i];
422internal void CollapseTemporaryResolutionLocation(Location location)
445internal bool TryGetLocation(int id, out Location value)
469internal bool TryGetLocation(int id, Activity environmentOwner, out Location value)
500void RegisterLocation(Location location, LocationReference locationReference, ActivityInstance activityInstance)
509void UnregisterLocation(Location location)
555this.locations = new Location[] { this.singleLocation };
572Location[] newLocations = null;
580newLocations = new Location[newTotalLocations];
589Location newSingleLocation = null;
600void UpdateArguments(EnvironmentUpdateMap map, Location[] newLocations)
642void UpdatePublicVariables(EnvironmentUpdateMap map, Location[] newLocations, Activity activity)
654void UpdatePrivateVariables(EnvironmentUpdateMap map, Location[] newLocations, Activity activity)
666void UpdateVariables(int newVariablesOffset, int oldVariablesOffset, int newVariableCount, int oldVariableCount, IList<EnvironmentUpdateMapEntry> variableEntries, IList<Variable> variables, Location[] newLocations)
680Location location = newVariable.CreateLocation();
711void CopyRuntimeDelegateArguments(EnvironmentUpdateMap map, Location[] newLocations)
719void CollapseTemporaryResolutionLocation(ref Location location)
723location = (Location)location.CreateDefaultValue();
727location = ((Location)location.Value).CreateReference(location.BufferGetsOnCollapse);
744foreach (Location location in this.locationsToUnregister)
771Location location = this.locations[i + offset];