27 references to IsAbsolute
Microsoft.CodeAnalysis.Workspaces (27)
Serialization\SerializationExtensions.cs (1)
49if (!PathUtilities.IsAbsolute(filePath))
src\Compilers\Core\Portable\AssemblyUtilitiesCore.cs (1)
29RoslynDebug.Assert(PathUtilities.IsAbsolute(filePath));
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (13)
48Debug.Assert(baseDirectory == null || searchPaths != null || PathUtilities.IsAbsolute(baseDirectory)); 61Debug.Assert(PathUtilities.IsAbsolute(combinedPath)); 72Debug.Assert(PathUtilities.IsAbsolute(combinedPath)); 85Debug.Assert(PathUtilities.IsAbsolute(combinedPath)); 102Debug.Assert(baseDirectory == null || PathUtilities.IsAbsolute(baseDirectory)); 199Debug.Assert(PathUtilities.IsAbsolute(resolvedBasePath)); 249Debug.Assert(PathUtilities.IsAbsolute(path)); 276if (!PathUtilities.IsAbsolute(path)) 293Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 311Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 395Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 413Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 436Debug.Assert(PathUtilities.IsAbsolute(fullPath));
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
305if (IsAbsolute(path)) 403Debug.Assert(IsAbsolute(root)); 474return IsAbsolute(path) ? path : CombinePathsUnchecked(root, path);
src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (2)
29Debug.Assert(searchPaths.All(PathUtilities.IsAbsolute)); 50Debug.Assert(PathUtilities.IsAbsolute(fullPath));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CompilerUtilities\CompilerPathUtilities.cs (1)
19if (!PathUtilities.IsAbsolute(path))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ProjectExtensions.cs (3)
59if (!PathUtilities.IsAbsolute(diagnosticFilePath)) 92if (!PathUtilities.IsAbsolute(solutionOrProjectFilePath)) 105Debug.Assert(PathUtilities.IsAbsolute(analyzerConfigPath));
Utilities\Documentation\XmlDocumentationProvider.cs (1)
156Debug.Assert(PathUtilities.IsAbsolute(filePath));
Workspace\Solution\CompilationOutputInfo.cs (2)
41if (path != null && !PathUtilities.IsAbsolute(path)) 56=> PathUtilities.IsAbsolute(GeneratedFilesOutputDirectory ?? AssemblyPath);