23 references to FixFilePath
Microsoft.Build.Utilities.Core (21)
CommandLineBuilder.cs (1)
334fileName = FileUtilities.FixFilePath(fileName);
FileMatcher.cs (2)
224path = FileUtilities.FixFilePath(path); 588filespec = FileUtilities.FixFilePath(filespec);
FileUtilities.cs (14)
221fileSpec = FixFilePath(fileSpec); 245return FixFilePath(path.Substring(start, stop - start)); 259return FixFilePath(start < stop && IsSlash(path[stop - 1]) ? 269path = FixFilePath(path); 306path = FixFilePath(path); 384return FixFilePath(fullPath.Substring(0, i)); 466return FixFilePath(fullPath); 695string directory = Path.GetDirectoryName(FixFilePath(fileSpec)); 759fileSpec = FixFilePath(EscapingUtilities.UnescapeAll(fileSpec)); 861File.Delete(FixFilePath(path)); 888path = FixFilePath(path); 1155return FixFilePath(path); 1206return FixFilePath(path); 1230return Path.IsPathRooted(FixFilePath(path));
Modifiers.cs (1)
437modifiedItemSpec = Path.GetFileNameWithoutExtension(FixFilePath(itemSpec));
TaskItem.cs (3)
85_itemSpec = FileUtilities.FixFilePath(itemSpec); 165_itemSpec = FileUtilities.FixFilePath(value); 184_itemSpec = FileUtilities.FixFilePath(value);
Microsoft.Build.Utilities.UnitTests (2)
CommandLineBuilder_Tests.cs (2)
110c.AppendFileNamesIfNotNull(new[] { "Form1.resx", FileUtilities.FixFilePath("built\\Form1.resources") }, ","); 114c.ShouldBe(FileUtilities.FixFilePath(@"Form1.resx,built\Form1.resources"));