1 write to Fragments
Microsoft.Build (1)
Evaluation\ItemSpec.cs (1)
171
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)
2621
ImmutableArray<ItemSpecFragment> includeGlobFragments = includeItemspec.
Fragments
.Where(f => f is GlobFragment && f.TextFragment.IndexOfAny(s_invalidGlobChars) == -1).ToImmutableArray();
Evaluation\ItemSpec.cs (9)
295
foreach (var fragment in
Fragments
)
316
var result = new List<ItemSpecFragment>(
Fragments
.Count);
319
foreach (var fragment in
Fragments
)
342
foreach (var fragment in
Fragments
)
380
if (
Fragments
.Count == 1)
383
return
Fragments
[0].ToMSBuildGlob();
386
return CompositeGlob.Create(
Fragments
.Select(f => f.ToMSBuildGlob()));
396
foreach (var fragment in
Fragments
)
586
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);