1 write to _itemSpec
Microsoft.Build (1)
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (1)
40_itemSpec = builder.ItemSpec;
15 references to _itemSpec
Microsoft.Build (15)
Evaluation\LazyItemEvaluator.IncludeOperation.cs (1)
62foreach (var fragment in _itemSpec.Fragments)
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (2)
34internal ItemSpec<P, I> Spec => _itemSpec; 50_itemSpec.Expander = _expander;
Evaluation\LazyItemEvaluator.RemoveOperation.cs (6)
28_matchOnMetadata.IsEmpty || _itemSpec.Fragments.All(f => f is ItemSpec<P, I>.ItemExpressionFragment), 34_metadataSet = new MetadataTrie<P, I>(builder.MatchOnMetadataOptions, _matchOnMetadata, _itemSpec); 54if (ItemspecContainsASingleBareItemReference(_itemSpec, _itemElement.ItemType)) 67IList<string> matches = _itemSpec.IntersectsWith(listBuilder.Dictionary); 77bool isMatch = matchingOnMetadata ? MatchesItemOnMetadata(item.Item) : _itemSpec.MatchesItem(item.Item); 104var globs = _itemSpec.Fragments.OfType<GlobFragment>().Select(g => g.TextFragment);
Evaluation\LazyItemEvaluator.UpdateOperation.cs (6)
59var matchResult = _matchItemSpec(_itemSpec, itemData.Item); 82MatchResult matchResult = _matchItemSpec(_itemSpec, item.Item); 108if (ItemspecContainsASingleBareItemReference(_itemSpec, _itemElement.ItemType)) 114else if (ItemSpecContainsItemReferences(_itemSpec) 118var itemReferenceFragments = _itemSpec.Fragments.OfType<ItemSpec<P, I>.ItemExpressionFragment>().ToArray(); 119var nonItemReferenceFragments = _itemSpec.Fragments.Where(f => !(f is ItemSpec<P, I>.ItemExpressionFragment)).ToArray();