6 writes to environment
System.Activities (6)
System\Activities\ActivityInstance.cs (6)
112
this.
environment
= value;
863
this.
environment
= new LocationEnvironment(executor, this.Activity);
868
this.
environment
= parentEnvironment;
876
this.
environment
= new LocationEnvironment(executor, this.Activity, parentEnvironment, symbolCount);
1340
instance.
environment
= newEnvironment;
1361
this.
environment
= new LocationEnvironment(oldParentEnvironment, map.NewArgumentCount + map.NewVariableCount + map.NewPrivateVariableCount + map.RuntimeDelegateArgumentCount);
16 references to environment
System.Activities (16)
System\Activities\ActivityInstance.cs (16)
105
return this.
environment
;
183
Fx.Assert(this.
environment
!= null, "There should always be an environment");
184
return this.
environment
;
782
this.
environment
.OnDeserialized(executor, this);
911
if (argument.TryPopulateValue(this.
environment
, this, executor, overrideValue, resultLocation, isDynamicUpdate))
917
Location location = this.
environment
.GetSpecificLocation(argument.Id);
966
if (!argument.TryPopulateValue(this.
environment
, this, executor, null, resultLocation, false))
970
Location location = this.
environment
.GetSpecificLocation(argument.Id);
1103
variableLocation = this.
environment
.GetSpecificLocation(variable.Id);
1106
executor.ScheduleExpression(variable.Default, this, this.
environment
, variableLocation, null);
1237
if (this.
environment
.TryGetLocation(argument.Id, this.Activity, out location))
1327
if (instance.
environment
.Parent == oldParentEnvironment)
1330
instance.
environment
.Parent = newEnvironment;
1337
if (instance.
environment
== oldParentEnvironment)
1357
LocationEnvironment oldParentEnvironment = this.
environment
;
1367
UpdateLocationEnvironmentHierarchy(oldParentEnvironment, this.
environment
, this);