2 writes to _dictionaryBuilder
Microsoft.Build (2)
Evaluation\LazyItemEvaluator.OrderedItemDataCollection.cs (2)
107
_dictionaryBuilder
= new Dictionary<string, ItemDataCollectionValue<I>>(StringComparer.OrdinalIgnoreCase);
141
_dictionaryBuilder
= null;
15 references to _dictionaryBuilder
Microsoft.Build (15)
Evaluation\LazyItemEvaluator.OrderedItemDataCollection.cs (15)
63
if (
_dictionaryBuilder
is not null)
71
ItemDataCollectionValue<I> oldDictionaryEntry =
_dictionaryBuilder
[oldNormalizedValue];
75
_dictionaryBuilder
.Remove(oldNormalizedValue);
79
_dictionaryBuilder
[oldNormalizedValue] = oldDictionaryEntry;
82
ItemDataCollectionValue<I> newDictionaryEntry =
_dictionaryBuilder
[newNormalizedValue];
84
_dictionaryBuilder
[newNormalizedValue] = newDictionaryEntry;
89
ItemDataCollectionValue<I> dictionaryEntry =
_dictionaryBuilder
[newNormalizedValue];
91
_dictionaryBuilder
[newNormalizedValue] = dictionaryEntry;
105
if (
_dictionaryBuilder
== null)
115
return
_dictionaryBuilder
;
121
if (
_dictionaryBuilder
is not null)
131
_dictionaryBuilder
?.Clear();
160
_dictionaryBuilder
.Remove(itemValue);
182
if (!
_dictionaryBuilder
.TryGetValue(key, out var dictionaryValue))
190
_dictionaryBuilder
[key] = dictionaryValue;