49 references to IsAbsolute
Microsoft.CodeAnalysis.Features (10)
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 (1)
87if (!PathUtilities.IsAbsolute(textDocumentState.FilePath))
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\Extensions.cs (1)
92filePath: PathUtilities.IsAbsolute(path)
Microsoft.CodeAnalysis.LanguageServer (3)
FileBasedPrograms\VirtualProjectXmlProvider.cs (1)
149Contract.ThrowIfFalse(PathUtilities.IsAbsolute(documentFilePath));
HostWorkspace\LanguageServerProjectLoader.cs (1)
189Contract.ThrowIfFalse(PathUtilities.IsAbsolute(projectPath));
HostWorkspace\LanguageServerWorkspace.cs (1)
114if (document is not null && (document.DocumentState.Attributes.DesignTimeOnly || !PathUtilities.IsAbsolute(filePath)))
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Extensions\ProtocolConversions.cs (2)
249if (!PathUtilities.IsAbsolute(absolutePath)) 486if (PathUtilities.IsAbsolute(mappedSpan.FilePath))
Microsoft.CodeAnalysis.Workspaces (30)
Serialization\SerializationExtensions.cs (3)
49if (!PathUtilities.IsAbsolute(filePath)) 74if (PathUtilities.IsAbsolute(info.FilePath)) 80if (PathUtilities.IsAbsolute(info.OutputFilePath))
src\Compilers\Core\Portable\AssemblyUtilitiesCore.cs (1)
29RoslynDebug.Assert(PathUtilities.IsAbsolute(filePath));
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (13)
49Debug.Assert(baseDirectory == null || searchPaths != null || PathUtilities.IsAbsolute(baseDirectory)); 62Debug.Assert(PathUtilities.IsAbsolute(combinedPath)); 73Debug.Assert(PathUtilities.IsAbsolute(combinedPath)); 86Debug.Assert(PathUtilities.IsAbsolute(combinedPath)); 103Debug.Assert(baseDirectory == null || PathUtilities.IsAbsolute(baseDirectory)); 200Debug.Assert(PathUtilities.IsAbsolute(resolvedBasePath)); 250Debug.Assert(PathUtilities.IsAbsolute(path)); 277if (!PathUtilities.IsAbsolute(path)) 294Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 312Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 396Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 414Debug.Assert(PathUtilities.IsAbsolute(fullPath)); 437Debug.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)
58if (!PathUtilities.IsAbsolute(diagnosticFilePath)) 91if (!PathUtilities.IsAbsolute(solutionOrProjectFilePath)) 104Debug.Assert(PathUtilities.IsAbsolute(analyzerConfigPath));
Utilities\Documentation\XmlDocumentationProvider.cs (1)
154Debug.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 (1)
MSBuild\MSBuildProjectLoader.Worker.cs (1)
415if (PathUtilities.IsAbsolute(path))
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestHostDocument.cs (1)
103Contract.ThrowIfFalse(generator == null || PathUtilities.IsAbsolute(filePath));
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\CSharpProjectShim.ICSInputSet.cs (1)
46if (PathUtilities.IsAbsolute(filename))