1 write to Fragments
Microsoft.Build (1)
Evaluation\ItemSpec.cs (1)
171Fragments = BuildItemFragments(itemSpecLocation, projectDirectory, expandProperties);
23 references to Fragments
Microsoft.Build (23)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (1)
623itemSpec.Fragments.All(f => f is ItemSpec<ProjectPropertyInstance, ProjectItemInstance>.ItemExpressionFragment),
Definition\Project.cs (1)
2621ImmutableArray<ItemSpecFragment> includeGlobFragments = includeItemspec.Fragments.Where(f => f is GlobFragment && f.TextFragment.IndexOfAny(s_invalidGlobChars) == -1).ToImmutableArray();
Evaluation\ItemSpec.cs (9)
295foreach (var fragment in Fragments) 316var result = new List<ItemSpecFragment>(Fragments.Count); 319foreach (var fragment in Fragments) 342foreach (var fragment in Fragments) 380if (Fragments.Count == 1) 383return Fragments[0].ToMSBuildGlob(); 386return CompositeGlob.Create(Fragments.Select(f => f.ToMSBuildGlob())); 396foreach (var fragment in Fragments) 586foreach (ItemSpec<P, I>.ItemExpressionFragment frag in itemSpec.Fragments)
Evaluation\LazyItemEvaluator.cs (4)
377for (i = 0; i < op.Spec.Fragments.Count; i++) 379ItemSpecFragment frag = op.Spec.Fragments[i]; 404itemsWithNoWildcards.Remove(currentList._memoizedOperation.Operation.Spec.Fragments[j].TextFragment); 619foreach (ItemSpecFragment fragment in builder.ItemSpec.Fragments)
Evaluation\LazyItemEvaluator.IncludeOperation.cs (1)
62foreach (var fragment in _itemSpec.Fragments)
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (2)
320if (itemSpec.Fragments.Count != 1) 325var 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), 104var globs = _itemSpec.Fragments.OfType<GlobFragment>().Select(g => g.TextFragment);
Evaluation\LazyItemEvaluator.UpdateOperation.cs (3)
118var itemReferenceFragments = _itemSpec.Fragments.OfType<ItemSpec<P, I>.ItemExpressionFragment>().ToArray(); 119var nonItemReferenceFragments = _itemSpec.Fragments.Where(f => !(f is ItemSpec<P, I>.ItemExpressionFragment)).ToArray(); 172return itemSpec.Fragments.Any(f => f is ItemSpec<P, I>.ItemExpressionFragment);