44 references to ItemSpecModifiers
Microsoft.Build.Tasks.Core (44)
AssemblyDependency\ReferenceTable.cs (1)
852
name = item.GetMetadata(FileUtilities.
ItemSpecModifiers
.Filename);
AssignLinkMetadata.cs (3)
47
string definingProject = item.GetMetadata(FileUtilities.
ItemSpecModifiers
.DefiningProjectFullPath);
48
string definingProjectDirectory = item.GetMetadata(FileUtilities.
ItemSpecModifiers
.DefiningProjectDirectory);
49
string fullPath = item.GetMetadata(FileUtilities.
ItemSpecModifiers
.FullPath);
CreateItem.cs (2)
119
if (FileUtilities.
ItemSpecModifiers
.IsItemSpecModifier(nameAndValue.Key))
193
newItem.SetMetadata(FileUtilities.
ItemSpecModifiers
.RecursiveDir, match.wildcardDirectoryPart);
Modifiers.cs (37)
110
if (name == FileUtilities.
ItemSpecModifiers
.RootDir)
126
if (name == FileUtilities.
ItemSpecModifiers
.FullPath)
130
if (name == FileUtilities.
ItemSpecModifiers
.Filename)
138
if (name == FileUtilities.
ItemSpecModifiers
.Identity)
153
if (name == FileUtilities.
ItemSpecModifiers
.Directory)
161
if (name == FileUtilities.
ItemSpecModifiers
.Extension)
176
if (name == FileUtilities.
ItemSpecModifiers
.CreatedTime)
184
if (name == FileUtilities.
ItemSpecModifiers
.RelativeDir)
200
if (name == FileUtilities.
ItemSpecModifiers
.AccessedTime)
208
if (name == FileUtilities.
ItemSpecModifiers
.ModifiedTime)
216
if (name == FileUtilities.
ItemSpecModifiers
.RecursiveDir)
256
if (name == FileUtilities.
ItemSpecModifiers
.DefiningProjectName)
262
if (name == FileUtilities.
ItemSpecModifiers
.DefiningProjectFullPath)
274
if (name == FileUtilities.
ItemSpecModifiers
.DefiningProjectDirectory)
282
if (name == FileUtilities.
ItemSpecModifiers
.DefiningProjectExtension)
392
if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.FullPath, StringComparison.OrdinalIgnoreCase))
409
else if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.RootDir, StringComparison.OrdinalIgnoreCase))
411
GetItemSpecModifier(currentDirectory, itemSpec, definingProjectEscaped,
ItemSpecModifiers
.FullPath, ref fullPath);
425
else if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.Filename, StringComparison.OrdinalIgnoreCase))
440
else if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.Extension, StringComparison.OrdinalIgnoreCase))
454
else if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.RelativeDir, StringComparison.OrdinalIgnoreCase))
458
else if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.Directory, StringComparison.OrdinalIgnoreCase))
460
GetItemSpecModifier(currentDirectory, itemSpec, definingProjectEscaped,
ItemSpecModifiers
.FullPath, ref fullPath);
495
else if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.RecursiveDir, StringComparison.OrdinalIgnoreCase))
500
else if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.Identity, StringComparison.OrdinalIgnoreCase))
504
else if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.ModifiedTime, StringComparison.OrdinalIgnoreCase))
522
else if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.CreatedTime, StringComparison.OrdinalIgnoreCase))
538
else if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.AccessedTime, StringComparison.OrdinalIgnoreCase))
563
if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.DefiningProjectDirectory, StringComparison.OrdinalIgnoreCase))
567
GetItemSpecModifier(currentDirectory, definingProjectEscaped, null,
ItemSpecModifiers
.RootDir),
568
GetItemSpecModifier(currentDirectory, definingProjectEscaped, null,
ItemSpecModifiers
.Directory));
574
if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.DefiningProjectFullPath, StringComparison.OrdinalIgnoreCase))
576
additionalModifier =
ItemSpecModifiers
.FullPath;
578
else if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.DefiningProjectName, StringComparison.OrdinalIgnoreCase))
580
additionalModifier =
ItemSpecModifiers
.Filename;
582
else if (string.Equals(modifier, FileUtilities.
ItemSpecModifiers
.DefiningProjectExtension, StringComparison.OrdinalIgnoreCase))
584
additionalModifier =
ItemSpecModifiers
.Extension;
MSBuild.cs (1)
654
outputItemFromTarget.SetMetadata(ItemMetadataNames.msbuildSourceProjectFile, projects[i].GetMetadata(FileUtilities.
ItemSpecModifiers
.FullPath));