2 writes to NewArgumentCount
System.Activities (2)
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (1)
559envMap.NewArgumentCount = currentElement.RuntimeArguments != null ? currentElement.RuntimeArguments.Count : 0;
System\Activities\DynamicUpdate\EnvironmentUpdateMap.cs (1)
180NewArgumentCount = second.NewArgumentCount,
14 references to NewArgumentCount
System.Activities (14)
System\Activities\ActivityInstance.cs (1)
1361this.environment = new LocationEnvironment(oldParentEnvironment, map.NewArgumentCount + map.NewVariableCount + map.NewPrivateVariableCount + map.RuntimeDelegateArgumentCount);
System\Activities\DynamicUpdate\EnvironmentUpdateMap.cs (6)
100(this.NewArgumentCount + this.NewVariableCount + this.NewPrivateVariableCount + this.RuntimeDelegateArgumentCount) > 0; 180NewArgumentCount = second.NewArgumentCount, 189result.argumentEntries = Merge(result.NewArgumentCount, first.ArgumentEntries, second.ArgumentEntries); 191if (result.OldArgumentCount != result.NewArgumentCount || 243if (first.NewArgumentCount != second.OldArgumentCount || 248first.NewArgumentCount, first.NewVariableCount, first.NewPrivateVariableCount,
System\Activities\Runtime\LocationEnvironment.cs (7)
530if (map.NewArgumentCount != activity.RuntimeArguments.Count || 536SR.WrongEnvironmentCount(activity, map.NewArgumentCount, map.NewVariableCount, map.NewPrivateVariableCount, map.RuntimeDelegateArgumentCount, 577int newTotalLocations = map.NewArgumentCount + map.NewVariableCount + map.NewPrivateVariableCount + map.RuntimeDelegateArgumentCount; 608Fx.Assert(entry.NewOffset >= 0 && entry.NewOffset < map.NewArgumentCount, "Argument offset is out of range"); 628for (int i = 0; i < map.NewArgumentCount; i++) 645map.NewArgumentCount, 657map.NewArgumentCount + map.NewVariableCount,