1 write to Item
Microsoft.Build (1)
Evaluation\LazyItemEvaluator.cs (1)
123Item = item;
24 references to Item
Microsoft.Build (24)
Evaluation\Evaluator.cs (3)
706_data.AddItem(itemData.Item); 710_data.AddToAllEvaluatedItemsList(itemData.Item); 716_data.AddItemIgnoringCondition(itemData.Item);
Evaluation\LazyItemEvaluator.cs (6)
135var clonedItem = itemFactory.CreateItem(Item, OriginatingItemElement.ContainingProject.FullPath); 157normalizedItemValue = FileUtilities.NormalizePathForComparisonNoThrow(Item.EvaluatedInclude, Item.ProjectDirectory); 264items.Add(data.Item); 443string fullPath = FileUtilities.NormalizePathForComparisonNoThrow(items[i].Item.EvaluatedInclude, items[i].Item.ProjectDirectory);
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (1)
77return listBuilder.Select(itemData => itemData.Item)
Evaluation\LazyItemEvaluator.OrderedItemDataCollection.cs (8)
72oldDictionaryEntry.Delete(oldItemData.Item); 83newDictionaryEntry.Add(value.Item); 90dictionaryEntry.Replace(oldItemData.Item, value.Item); 139_listBuilder.RemoveAll(item => itemsToRemove.Contains(item.Item)); 166_listBuilder.RemoveAll(item => itemsToRemove.Contains(item.Item)); 184dictionaryValue = new ItemDataCollectionValue<I>(itemData.Item); 188dictionaryValue.Add(itemData.Item);
Evaluation\LazyItemEvaluator.RemoveOperation.cs (3)
77bool isMatch = matchingOnMetadata ? MatchesItemOnMetadata(item.Item) : _itemSpec.MatchesItem(item.Item); 81items.Add(item.Item);
Evaluation\LazyItemEvaluator.UpdateOperation.cs (3)
59var matchResult = _matchItemSpec(_itemSpec, itemData.Item); 82MatchResult matchResult = _matchItemSpec(_itemSpec, item.Item); 99_itemsToUpdate.Add(new ItemBatchingContext(clonedData.Item, capturedItemsFromReferencedItemTypes));