1 write to Fragments
Microsoft.Build (1)
Evaluation\ItemSpec.cs (1)
170
Fragments
= BuildItemFragments(itemSpecLocation, projectDirectory, expandProperties);
23 references to Fragments
Microsoft.Build (23)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (1)
623
itemSpec.
Fragments
.All(f => f is ItemSpec<ProjectPropertyInstance, ProjectItemInstance>.ItemExpressionFragment),
Definition\Project.cs (1)
2627
ItemSpecFragment[] includeGlobFragments = includeItemspec.
Fragments
.Where(f => f is GlobFragment && f.TextFragment.AsSpan().IndexOfAny(s_invalidGlobChars) < 0).ToArray();
Evaluation\ItemSpec.cs (9)
294
foreach (var fragment in
Fragments
)
315
var result = new List<ItemSpecFragment>(
Fragments
.Count);
318
foreach (var fragment in
Fragments
)
341
foreach (var fragment in
Fragments
)
379
if (
Fragments
.Count == 1)
382
return
Fragments
[0].ToMSBuildGlob();
385
return CompositeGlob.Create(
Fragments
.Select(f => f.ToMSBuildGlob()));
395
foreach (var fragment in
Fragments
)
585
foreach (ItemSpec<P, I>.ItemExpressionFragment frag in itemSpec.
Fragments
)
Evaluation\LazyItemEvaluator.cs (4)
377
for (i = 0; i < op.Spec.
Fragments
.Count; i++)
379
ItemSpecFragment frag = op.Spec.
Fragments
[i];
404
itemsWithNoWildcards.Remove(currentList._memoizedOperation.Operation.Spec.
Fragments
[j].TextFragment);
619
foreach (ItemSpecFragment fragment in builder.ItemSpec.
Fragments
)
Evaluation\LazyItemEvaluator.IncludeOperation.cs (1)
62
foreach (var fragment in _itemSpec.
Fragments
)
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (2)
320
if (itemSpec.
Fragments
.Count != 1)
325
var itemExpressionFragment = itemSpec.
Fragments
[0] as ItemSpec<P, I>.ItemExpressionFragment;
Evaluation\LazyItemEvaluator.RemoveOperation.cs (2)
28
_matchOnMetadata.IsEmpty || _itemSpec.
Fragments
.All(f => f is ItemSpec<P, I>.ItemExpressionFragment),
104
var globs = _itemSpec.
Fragments
.OfType<GlobFragment>().Select(g => g.TextFragment);
Evaluation\LazyItemEvaluator.UpdateOperation.cs (3)
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();
172
return itemSpec.
Fragments
.Any(f => f is ItemSpec<P, I>.ItemExpressionFragment);