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)
98
lock (
_itemLists
)
100
return
_itemLists
.Keys;
121
lock (
_itemLists
)
123
if (!
_itemLists
.TryGetValue(itemtype, out list))
138
lock (
_itemLists
)
140
foreach (ICollection<T> list in
_itemLists
.Values)
145
_itemLists
.Clear();
155
return new CopyOnReadEnumerable<T, TResult>(this,
_itemLists
, selector);
163
return new Enumerator(
_itemLists
.Values);
171
return
_itemLists
.GetEnumerator();
179
lock (
_itemLists
)
181
foreach (var itemTypeBucket in
_itemLists
)
232
lock (
_itemLists
)
244
lock (
_itemLists
)
260
lock (
_itemLists
)
274
_itemLists
.Remove(projectItem.Key);
287
lock (
_itemLists
)
304
lock (
_itemLists
)
306
if (!
_itemLists
.TryGetValue(itemType, out LinkedList<T> list))
309
_itemLists
[itemType] = list;
338
if (!
_itemLists
.TryGetValue(projectItem.Key, out LinkedList<T> list))
341
_itemLists
[projectItem.Key] = list;