10 references to GetDirectoryName
Microsoft.CodeAnalysis.Workspaces (10)
Diagnostics\DiagnosticDataLocation.cs (1)
87var combined = PathUtilities.CombinePaths(PathUtilities.GetDirectoryName(original), mapped);
Serialization\SerializationExtensions.cs (1)
56return new XmlFileResolver(PathUtilities.GetDirectoryName(filePath));
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
176currentChild = GetDirectoryName(currentChild); 532currentPath = GetDirectoryName(currentPath);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ProjectExtensions.cs (3)
58var diagnosticFilePath = PathUtilities.GetDirectoryName(diagnostic?.Location.SourceTree?.FilePath ?? project.FilePath); 74var analyzerConfigDirectory = PathUtilities.GetDirectoryName(analyzerConfigDocument.FilePath)!; 97var solutionOrProjectDirectoryPath = PathUtilities.GetDirectoryName(solutionOrProjectFilePath);
Storage\SQLite\v2\SQLitePersistentStorage.cs (1)
101_solutionDirectory = PathUtilities.GetDirectoryName(solutionKey.FilePath);
Storage\SQLite\v2\SQLitePersistentStorage_DocumentIds.cs (1)
34documentKey.FilePath != null && PathUtilities.GetDirectoryName(PathUtilities.GetRelativePath(_solutionDirectory, documentKey.FilePath)) is { Length: > 0 } directoryName
Workspace\Solution\CompilationOutputInfo.cs (1)
62=> HasEffectiveGeneratedFilesOutputDirectory ? GeneratedFilesOutputDirectory ?? PathUtilities.GetDirectoryName(AssemblyPath) : null;