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