Path.GetFileName behavior change on .NET Core #2644
Labels
area-System.IO
Pri1
Indicates issues/PRs that are high priority
Pri3
Indicates issues/PRs that are low priority
Milestone
In .NET Core we consider
Path.GetPathRoot()
when finding the filename. The concept ofPath.VolumeSeparatorChar
is only relevant on Windows 9x machines. So:.NET Framework
.NET Core
We should add to
Path.VolumeSeparatorChar
that we recommend not using it directly as it is a Win9x anachronism. UsePath.GetPathRoot
to determine path roots.The text was updated successfully, but these errors were encountered: