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)
62
foreach (var fragment in
_itemSpec
.Fragments)
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (2)
34
internal 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
);
54
if (ItemspecContainsASingleBareItemReference(
_itemSpec
, _itemElement.ItemType))
67
IList<string> matches =
_itemSpec
.IntersectsWith(listBuilder.Dictionary);
77
bool isMatch = matchingOnMetadata ? MatchesItemOnMetadata(item.Item) :
_itemSpec
.MatchesItem(item.Item);
104
var globs =
_itemSpec
.Fragments.OfType<GlobFragment>().Select(g => g.TextFragment);
Evaluation\LazyItemEvaluator.UpdateOperation.cs (6)
59
var matchResult = _matchItemSpec(
_itemSpec
, itemData.Item);
82
MatchResult matchResult = _matchItemSpec(
_itemSpec
, item.Item);
108
if (ItemspecContainsASingleBareItemReference(
_itemSpec
, _itemElement.ItemType))
114
else if (ItemSpecContainsItemReferences(
_itemSpec
)
118
var itemReferenceFragments =
_itemSpec
.Fragments.OfType<ItemSpec<P, I>.ItemExpressionFragment>().ToArray();
119
var nonItemReferenceFragments =
_itemSpec
.Fragments.Where(f => !(f is ItemSpec<P, I>.ItemExpressionFragment)).ToArray();