3 writes to _itemLists
Microsoft.Build (3)
Collections\ItemDictionary.cs (3)
56_itemLists = new Dictionary<string, LinkedList<T>>(MSBuildNameIgnoreCaseComparer.Default); 67_itemLists = new Dictionary<string, LinkedList<T>>(initialItemTypesCapacity, MSBuildNameIgnoreCaseComparer.Default); 77_itemLists = new Dictionary<string, LinkedList<T>>(MSBuildNameIgnoreCaseComparer.Default);
22 references to _itemLists
Microsoft.Build (22)
Collections\ItemDictionary.cs (22)
98lock (_itemLists) 100return _itemLists.Keys; 121lock (_itemLists) 123if (!_itemLists.TryGetValue(itemtype, out list)) 138lock (_itemLists) 140foreach (ICollection<T> list in _itemLists.Values) 145_itemLists.Clear(); 155return new CopyOnReadEnumerable<T, TResult>(this, _itemLists, selector); 163return new Enumerator(_itemLists.Values); 171return _itemLists.GetEnumerator(); 179lock (_itemLists) 181foreach (var itemTypeBucket in _itemLists) 232lock (_itemLists) 244lock (_itemLists) 260lock (_itemLists) 274_itemLists.Remove(projectItem.Key); 287lock (_itemLists) 304lock (_itemLists) 306if (!_itemLists.TryGetValue(itemType, out LinkedList<T> list)) 309_itemLists[itemType] = list; 338if (!_itemLists.TryGetValue(projectItem.Key, out LinkedList<T> list)) 341_itemLists[projectItem.Key] = list;