10 references to FileNameUtilities
Microsoft.CodeAnalysis (10)
Compilation\Compilation.cs (2)
3232
pePdbFilePath = pePdbFilePath ??
FileNameUtilities
.ChangeExtension(SourceModule.Name, "pdb");
3436
pdbFilePath ??
FileNameUtilities
.ChangeExtension(SourceModule.Name, "pdb"),
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
179
_lazyDisplay =
FileNameUtilities
.GetFileName(FullPath, includeExtension: false);
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);
MetadataReader\MetadataHelpers.cs (1)
1031
return
FileNameUtilities
.IsFileName(name) && IsValidMetadataIdentifier(name);