48 references to IsAbsolute
Microsoft.CodeAnalysis.CSharp.Features (4)
Completion\CompletionProviders\FileBasedPrograms\IncludeAppDirectiveCompletionProvider.cs (2)
51var baseDirectory = PathUtilities.IsAbsolute(documentDirectory) ? documentDirectory : null; 66if (baseDirectory != null || PathUtilities.IsAbsolute(contentDirectory))
Completion\CompletionProviders\FileBasedPrograms\ProjectAppDirectiveCompletionProvider.cs (1)
53baseDirectory: PathUtilities.IsAbsolute(documentDirectory) ? documentDirectory : null,
Completion\CompletionProviders\FileBasedPrograms\RefAppDirectiveCompletionProvider.cs (1)
42var baseDirectory = PathUtilities.IsAbsolute(documentDirectory) ? documentDirectory : null;
Microsoft.CodeAnalysis.Features (12)
Completion\FileSystemCompletionHelper.cs (7)
43Debug.Assert(searchPaths.All(PathUtilities.IsAbsolute)); 44Debug.Assert(baseDirectory == null || PathUtilities.IsAbsolute(baseDirectory)); 61Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 68Debug.Assert(PathUtilities.IsAbsolute(fullDirectoryPath)); 75Debug.Assert(PathUtilities.IsAbsolute(fullDirectoryPath)); 82Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 216Debug.Assert(PathUtilities.IsAbsolute(fullDirectoryPath));
Completion\Providers\Scripting\AbstractDirectivePathCompletionProvider.cs (2)
190if (!PathUtilities.IsAbsolute(result)) 193Debug.Assert(result == null || PathUtilities.IsAbsolute(result));
EditAndContinue\Utilities\Extensions.cs (2)
77if (!PathUtilities.IsAbsolute(project.FilePath)) 122if (!PathUtilities.IsAbsolute(textDocumentState.FilePath))
PdbSourceDocument\PdbSourceDocumentLoaderService.cs (1)
166if (PathUtilities.IsAbsolute(sourceDocument.FilePath) && File.Exists(sourceDocument.FilePath))
Microsoft.CodeAnalysis.Workspaces (30)
Serialization\SerializationExtensions.cs (3)
49if (!PathUtilities.IsAbsolute(filePath)) 74if (PathUtilities.IsAbsolute(info.FilePath)) 80if (PathUtilities.IsAbsolute(info.OutputFilePath))
src\roslyn\src\Compilers\Core\Portable\AssemblyUtilitiesCore.cs (1)
29RoslynDebug.Assert(PathUtilities.IsAbsolute(filePath));
src\roslyn\src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (13)
52Debug.Assert(baseDirectory == null || searchPaths != null || PathUtilities.IsAbsolute(baseDirectory)); 65Debug.Assert(PathUtilities.IsAbsolute(combinedPath)); 76Debug.Assert(PathUtilities.IsAbsolute(combinedPath)); 89Debug.Assert(PathUtilities.IsAbsolute(combinedPath)); 106Debug.Assert(baseDirectory == null || PathUtilities.IsAbsolute(baseDirectory)); 203Debug.Assert(PathUtilities.IsAbsolute(resolvedBasePath)); 253Debug.Assert(PathUtilities.IsAbsolute(path)); 280if (!PathUtilities.IsAbsolute(path)) 297Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 315Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 399Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 417Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 440Debug.Assert(PathUtilities.IsAbsolute(fullPath));
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (3)
330if (IsAbsolute(path)) 428Debug.Assert(IsAbsolute(root)); 499return IsAbsolute(path) ? path : CombinePathsUnchecked(root, path);
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (2)
29Debug.Assert(searchPaths.All(PathUtilities.IsAbsolute)); 50Debug.Assert(PathUtilities.IsAbsolute(fullPath));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CompilerUtilities\CompilerPathUtilities.cs (1)
19if (!PathUtilities.IsAbsolute(path))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ProjectExtensions.cs (3)
43if (!PathUtilities.IsAbsolute(diagnosticFilePath)) 76if (!PathUtilities.IsAbsolute(solutionOrProjectFilePath)) 89Debug.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);
Workspace\Solution\ProjectState.cs (1)
360if (!PathUtilities.IsAbsolute(ProjectInfo.FilePath))
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\MSBuildProjectLoader.cs (1)
296Debug.Assert(projectFilePaths.All(PathUtilities.IsAbsolute));
MSBuild\MSBuildProjectLoader.Worker.cs (1)
332if (PathUtilities.IsAbsolute(path))