5 references to GetRelativePath
Microsoft.CodeAnalysis.Features (3)
CodeFixes\Configuration\ConfigurationUpdater.cs (1)
436relativePath = PathUtilities.GetRelativePath(editorConfigDirectory.ToLowerInvariant(), diagnosticFilePath);
EditAndContinue\TraceLog.cs (1)
71var relativeDir = PathUtilities.IsSameDirectoryOrChildOf(documentDir, projectDir) ? PathUtilities.GetRelativePath(projectDir, documentDir) : documentDir;
src\roslyn\src\Analyzers\Core\Analyzers\MatchFolderAndNamespace\AbstractMatchFolderAndNamespaceDiagnosticAnalyzer.cs (1)
155var relativeDirectoryPath = PathUtilities.GetRelativePath(
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\CommandLineProject.cs (1)
155var relativePath = PathUtilities.GetRelativePath(projectDirectory, absolutePath);
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildWorkspace.cs (1)
624var relativePath = PathUtilities.GetRelativePath(Path.GetDirectoryName(CurrentSolution.GetRequiredProject(projectId).FilePath)!, peRef.FilePath);