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