9 writes to _items
Microsoft.Build (9)
Instance\ProjectInstance.cs (9)
445
_items
= GetImmutableItemsDictionaryFromImmutableProject(linkedProject, this);
540
_items
= new ItemDictionary<ProjectItemInstance>(); // We don't want any of the items. That would include things like ProjectReferences, which would just pollute our own.
718
_items
= new ItemDictionary<ProjectItemInstance>(that._items.Count);
811
_items
= new ItemDictionary<ProjectItemInstance>(that.Items.Count);
2335
_items
= new ItemDictionary<ProjectItemInstance>(projectState._items);
2491
_items
= new ItemDictionary<ProjectItemInstance>(typeCount);
2782
_items
= null;
3091
_items
= new ItemDictionary<ProjectItemInstance>();
3310
_items
= new ItemDictionary<ProjectItemInstance>(itemTypeCount);
21 references to _items
Microsoft.Build (21)
Instance\ProjectInstance.cs (21)
718
_items = new ItemDictionary<ProjectItemInstance>(that.
_items
.Count);
722
_items
.Add(item.DeepClone(this));
839
_items
.Add(filteredItem);
1110
return
_items
.ItemTypes;
1139
return (
_items
== null) ?
1141
new ReadOnlyCollection<ProjectItemInstance>(
_items
);
1388
{ return
_items
; }
1570
{ return
_items
; }
1678
return
_items
[itemType];
1707
_items
.Add(item);
1954
_items
.Add(item);
1977
_items
.Add(item);
2029
return
_items
.Remove(item);
2291
foreach (string itemType in
_items
.ItemTypes)
2294
foreach (ProjectItemInstance item in
_items
.GetItems(itemType))
2335
_items = new ItemDictionary<ProjectItemInstance>(projectState.
_items
);
2500
_items
.Add(item);
2506
int typeCount =
_items
.ItemTypes.Count;
2509
foreach (string itemType in
_items
.ItemTypes)
2511
ICollection<ProjectItemInstance> itemList =
_items
[itemType];
3317
_items
.Add(instance);