20 references to AbsolutePath
Microsoft.Build.Framework (2)
FileUtilities.cs (2)
397return new AbsolutePath(NewPath.GetFullPath(path, workingDir!)); 403return new AbsolutePath(path, new AbsolutePath(workingDir!));
Microsoft.Build.Framework.UnitTests (17)
AbsolutePath_Tests.cs (17)
26var absolutePath = new AbsolutePath(path); 41var absolutePath = new AbsolutePath(absolutePathString); 52Should.Throw<ArgumentNullException>(() => new AbsolutePath(path!)); 61var exception = Should.Throw<ArgumentException>(() => new AbsolutePath(path)); 93var basePath = new AbsolutePath(baseDirectory); 106var path1 = new AbsolutePath(testPath); 107var path2 = new AbsolutePath(testPath); 108var differentPath = new AbsolutePath(Path.Combine(testPath, "different")); 120var path1 = new AbsolutePath(testPath); 121var differentPath = new AbsolutePath(Path.Combine(testPath, "different")); 133var path1 = new AbsolutePath(testPath); 134var path2 = new AbsolutePath(testPath); 145var path1 = new AbsolutePath(testPath); 146object path2 = new AbsolutePath(testPath); 170var lowerPath = new AbsolutePath("/foo/bar"); 171var upperPath = new AbsolutePath("/FOO/BAR"); 290var exception = Should.Throw<ArgumentException>(() => new AbsolutePath("relative/path"));
Microsoft.Build.Tasks.Core (1)
WriteCodeFragment.cs (1)
125outputFilePath = new AbsolutePath(FileUtilities.GetTemporaryFile(outputDirectoryPath, null, extension));