3 instantiations of EnvironmentUpdateMapEntry
System.Activities (3)
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (2)
616EnvironmentUpdateMapEntry environmentEntry = new EnvironmentUpdateMapEntry 690mapEntry.EnvironmentUpdateMap.ArgumentEntries.Add(new EnvironmentUpdateMapEntry
System\Activities\DynamicUpdate\EnvironmentUpdateMapEntry.cs (1)
65return new EnvironmentUpdateMapEntry
47 references to EnvironmentUpdateMapEntry
System.Activities (47)
System\Activities\DynamicUpdate\ActivityComparer.cs (2)
396foreach (EnvironmentUpdateMapEntry argumentEntry in entry.EnvironmentUpdateMap.ArgumentEntries) 416if (newArgumentInfos.IndexOf(new ArgumentInfo(oldRuntimeArgument)) == EnvironmentUpdateMapEntry.NonExistent)
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (6)
616EnvironmentUpdateMapEntry environmentEntry = new EnvironmentUpdateMapEntry 631if (originalIndex == EnvironmentUpdateMapEntry.NonExistent) 685Fx.Assert(oldIndex >= 0 || oldIndex == EnvironmentUpdateMapEntry.NonExistent, "NonExistent constant should be consistent with IndexOf"); 696if (oldIndex == EnvironmentUpdateMapEntry.NonExistent && newArgument.IsBound) 959this.newToOldMatches[newSibling] = EnvironmentUpdateMapEntry.NonExistent; 1095return EnvironmentUpdateMapEntry.NonExistent;
System\Activities\DynamicUpdate\EnvironmentUpdateMap.cs (30)
17IList<EnvironmentUpdateMapEntry> variableEntries; 18IList<EnvironmentUpdateMapEntry> privateVariableEntries; 19IList<EnvironmentUpdateMapEntry> argumentEntries; 75internal IList<EnvironmentUpdateMapEntry> SerializedVariableEntries 82internal IList<EnvironmentUpdateMapEntry> SerializedPrivateVariableEntries 89internal IList<EnvironmentUpdateMapEntry> SerializedArgumentEntries 128public IList<EnvironmentUpdateMapEntry> VariableEntries 134this.variableEntries = new List<EnvironmentUpdateMapEntry>(); 141public IList<EnvironmentUpdateMapEntry> PrivateVariableEntries 147this.privateVariableEntries = new List<EnvironmentUpdateMapEntry>(); 154public IList<EnvironmentUpdateMapEntry> ArgumentEntries 160this.argumentEntries = new List<EnvironmentUpdateMapEntry>(); 206EnvironmentUpdateMapEntry environmentEntry = FindByNewIndex(this.VariableEntries, newIndex); 216foreach (EnvironmentUpdateMapEntry environmentEntry in this.VariableEntries) 229foreach (EnvironmentUpdateMapEntry environmentEntry in this.PrivateVariableEntries) 253static IList<EnvironmentUpdateMapEntry> Merge(int finalCount, IList<EnvironmentUpdateMapEntry> first, 254IList<EnvironmentUpdateMapEntry> second) 256List<EnvironmentUpdateMapEntry> result = new List<EnvironmentUpdateMapEntry>(); 259EnvironmentUpdateMapEntry resultEntry = MergeEntry(i, first, second); 269static EnvironmentUpdateMapEntry MergeEntry(int finalIndex, IList<EnvironmentUpdateMapEntry> first, 270IList<EnvironmentUpdateMapEntry> second) 272EnvironmentUpdateMapEntry secondEntry = FindByNewIndex(second, finalIndex); 273EnvironmentUpdateMapEntry firstEntry; 283return EnvironmentUpdateMapEntry.Merge(firstEntry, secondEntry); 286static EnvironmentUpdateMapEntry FindByNewIndex(IList<EnvironmentUpdateMapEntry> entries, int newIndex) 288foreach (EnvironmentUpdateMapEntry environmentEntry in entries)
System\Activities\DynamicUpdate\EnvironmentUpdateMapEntry.cs (4)
48return this.OldOffset == EnvironmentUpdateMapEntry.NonExistent; 52internal static EnvironmentUpdateMapEntry Merge(EnvironmentUpdateMapEntry first, EnvironmentUpdateMapEntry second)
System\Activities\Runtime\ActivityInstanceMap.cs (2)
422private static bool TryGatherSchedulableExpressions(IList<EnvironmentUpdateMapEntry> entries, out List<int> addedLocationReferenceIndexes) 428EnvironmentUpdateMapEntry entry = entries[i];
System\Activities\Runtime\LocationEnvironment.cs (3)
606EnvironmentUpdateMapEntry entry = map.ArgumentEntries[i]; 666void UpdateVariables(int newVariablesOffset, int oldVariablesOffset, int newVariableCount, int oldVariableCount, IList<EnvironmentUpdateMapEntry> variableEntries, IList<Variable> variables, Location[] newLocations) 672EnvironmentUpdateMapEntry entry = variableEntries[i];