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