11 references to FileNameUtilities
Microsoft.CodeAnalysis.Workspaces (11)
Diagnostics\Extensions.cs (1)
94
var fileNameSpan = reference.FullPath.AsSpan(
FileNameUtilities
.IndexOfFileName(reference.FullPath));
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (6)
96
return
FileNameUtilities
.GetExtension(path);
101
return
FileNameUtilities
.GetExtension(path);
106
return
FileNameUtilities
.ChangeExtension(path, extension);
111
return
FileNameUtilities
.ChangeExtension(path, extension: null);
117
return
FileNameUtilities
.GetFileName(path, includeExtension);
497
string? extension =
FileNameUtilities
.GetExtension(assemblyDisplayNameOrPath);
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (3)
98
name:
FileNameUtilities
.GetFileName(fullPath),
148
FileNameUtilities
.GetFileName(fullPath),
617
var name =
FileNameUtilities
.GetFileName(filePath);
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
901
var extension =
FileNameUtilities
.GetExtension(dynamicFilePath)?.TrimStart('.');