1 write to itemsRemoved
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (1)
36
this.
itemsRemoved
= new HashSet<ModelItem>();
6 references to itemsRemoved
System.Activities.Presentation (6)
System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (6)
98
return new ReadOnlyCollection<ModelItem>(this.
itemsRemoved
.ToList());
133
if (this.
itemsRemoved
.Contains(addedItem))
135
this.
itemsRemoved
.Remove(addedItem);
155
Fx.Assert(!
itemsRemoved
.Contains(removedItem), "One ModelItem should not be removed more than once.");
156
this.
itemsRemoved
.Add(removedItem);
163
Fx.Assert(this.itemsAdded.Count == 0 && this.
itemsRemoved
.Count == 0, "There should not be items changed before completed.");