1 write to TextFragment
Microsoft.Build (1)
Evaluation\ItemSpec.cs (1)
460TextFragment = textFragment;
19 references to TextFragment
Microsoft.Build (19)
Definition\Project.cs (2)
2621ImmutableArray<ItemSpecFragment> includeGlobFragments = includeItemspec.Fragments.Where(f => f is GlobFragment && f.TextFragment.IndexOfAny(s_invalidGlobChars) == -1).ToImmutableArray(); 2627ImmutableArray<string> includeGlobStrings = includeGlobFragments.Select(f => f.TextFragment).ToImmutableArray();
Evaluation\ItemSpec.cs (11)
93return ReferencedItems.Select(v => EscapingUtilities.UnescapeAll(v.ItemAsValueFragment.TextFragment)); 400yield return fragment.TextFragment; 406yield return referencedItem.ItemAsValueFragment.TextFragment; 487return Enumerable.Repeat(EscapingUtilities.UnescapeAll(TextFragment), 1); 497return MSBuildGlob.Parse(ProjectDirectory, EscapingUtilities.UnescapeAll(TextFragment)); 502return FileSpecMatcherTester.Parse(ProjectDirectory, TextFragment); 530public bool IsFullFileSystemScan => TextFragment.Length >= 4 531&& FileUtilities.IsAnySlash(TextFragment[0]) 532&& TextFragment[1] == '*' 533&& TextFragment[2] == '*' 534&& FileUtilities.IsAnySlash(TextFragment[3]);
Evaluation\LazyItemEvaluator.cs (3)
380if (MSBuildConstants.CharactersForExpansion.Any(frag.TextFragment.Contains)) 387string fullPath = FileUtilities.GetFullPath(frag.TextFragment, frag.ProjectDirectory); 404itemsWithNoWildcards.Remove(currentList._memoizedOperation.Operation.Spec.Fragments[j].TextFragment);
Evaluation\LazyItemEvaluator.IncludeOperation.cs (2)
84string value = valueFragment.TextFragment; 99string glob = globFragment.TextFragment;
Evaluation\LazyItemEvaluator.RemoveOperation.cs (1)
104var globs = _itemSpec.Fragments.OfType<GlobFragment>().Select(g => g.TextFragment);