10 references to GetDirectoryName
Microsoft.CodeAnalysis.Workspaces (10)
Diagnostics\DiagnosticDataLocation.cs (1)
87
var combined = PathUtilities.CombinePaths(PathUtilities.
GetDirectoryName
(original), mapped);
Serialization\SerializationExtensions.cs (1)
56
return new XmlFileResolver(PathUtilities.
GetDirectoryName
(filePath));
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
176
currentChild =
GetDirectoryName
(currentChild);
532
currentPath =
GetDirectoryName
(currentPath);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ProjectExtensions.cs (3)
58
var diagnosticFilePath = PathUtilities.
GetDirectoryName
(diagnostic?.Location.SourceTree?.FilePath ?? project.FilePath);
74
var analyzerConfigDirectory = PathUtilities.
GetDirectoryName
(analyzerConfigDocument.FilePath)!;
97
var solutionOrProjectDirectoryPath = PathUtilities.
GetDirectoryName
(solutionOrProjectFilePath);
Storage\SQLite\v2\SQLitePersistentStorage.cs (1)
101
_solutionDirectory = PathUtilities.
GetDirectoryName
(solutionKey.FilePath);
Storage\SQLite\v2\SQLitePersistentStorage_DocumentIds.cs (1)
34
documentKey.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;