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); 1110return _items.ItemTypes; 1139return (_items == null) ? 1141new ReadOnlyCollection<ProjectItemInstance>(_items); 1388{ return _items; } 1570{ return _items; } 1678return _items[itemType]; 1707_items.Add(item); 1954_items.Add(item); 1977_items.Add(item); 2029return _items.Remove(item); 2291foreach (string itemType in _items.ItemTypes) 2294foreach (ProjectItemInstance item in _items.GetItems(itemType)) 2335_items = new ItemDictionary<ProjectItemInstance>(projectState._items); 2500_items.Add(item); 2506int typeCount = _items.ItemTypes.Count; 2509foreach (string itemType in _items.ItemTypes) 2511ICollection<ProjectItemInstance> itemList = _items[itemType]; 3317_items.Add(instance);