21 references to GetItemSpecModifier
Microsoft.Build (5)
Definition\BuiltInMetadata.cs (1)
85
value = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, evaluatedIncludeEscaped, definingProjectEscaped, name, ref fullPath);
Modifiers.cs (3)
340
return
GetItemSpecModifier
(currentDirectory, itemSpec, definingProjectEscaped, modifier, ref dummy);
411
GetItemSpecModifier
(currentDirectory, itemSpec, definingProjectEscaped, ItemSpecModifiers.FullPath, ref fullPath);
460
GetItemSpecModifier
(currentDirectory, itemSpec, definingProjectEscaped, ItemSpecModifiers.FullPath, ref fullPath);
TaskParameter.cs (1)
963
metadataValue = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(null, _escapedItemSpec, _escapedDefiningProject, metadataName, ref _fullPath);
Microsoft.Build.Engine.UnitTests (16)
FileUtilities_Tests.cs (16)
35
string modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, "foo", String.Empty, FileUtilities.ItemSpecModifiers.RecursiveDir, ref cache);
39
modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, "foo", String.Empty, FileUtilities.ItemSpecModifiers.ModifiedTime, ref cache);
43
modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, @"foo\goo", String.Empty, FileUtilities.ItemSpecModifiers.RelativeDir, ref cache);
47
modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, @"foo\goo", String.Empty, FileUtilities.ItemSpecModifiers.RelativeDir, ref cache);
53
modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, itemSpec, String.Empty, FileUtilities.ItemSpecModifiers.FullPath, ref cache);
57
modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, itemSpec, String.Empty, FileUtilities.ItemSpecModifiers.RootDir, ref cache);
60
modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, itemSpec, String.Empty, FileUtilities.ItemSpecModifiers.Filename, ref cache);
63
modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, itemSpec, String.Empty, FileUtilities.ItemSpecModifiers.Extension, ref cache);
66
modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, itemSpec, String.Empty, FileUtilities.ItemSpecModifiers.Directory, ref cache);
69
modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, itemSpec, String.Empty, FileUtilities.ItemSpecModifiers.Identity, ref cache);
74
modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, itemSpec, projectPath, FileUtilities.ItemSpecModifiers.DefiningProjectDirectory, ref cache);
77
modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, itemSpec, projectPath, FileUtilities.ItemSpecModifiers.DefiningProjectExtension, ref cache);
80
modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, itemSpec, projectPath, FileUtilities.ItemSpecModifiers.DefiningProjectFullPath, ref cache);
83
modifier = FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, itemSpec, projectPath, FileUtilities.ItemSpecModifiers.DefiningProjectName, ref cache);
178
FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, @"http://www.microsoft.com", String.Empty, FileUtilities.ItemSpecModifiers.RootDir, ref cache);
444
Assert.Equal(@"c:\", FileUtilities.ItemSpecModifiers.
GetItemSpecModifier
(currentDirectory, fullPath, String.Empty, FileUtilities.ItemSpecModifiers.RootDir, ref cache));