-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Pri1Indicates issues/PRs that are high priorityIndicates issues/PRs that are high priorityPri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.IO
Milestone
Description
In .NET Core we consider Path.GetPathRoot()
when finding the filename. The concept of Path.VolumeSeparatorChar
is only relevant on Windows 9x machines. So:
.NET Framework
The characters after the last directory separator character in path. If the last character of path is a directory or volume separator character, this method returns Empty.
.NET Core
The characters after the last directory separator character after the path root (see Path.GetPathRoot) in path. If the path only contains a root, returns empty.
We should add to Path.VolumeSeparatorChar
that we recommend not using it directly as it is a Win9x anachronism. Use Path.GetPathRoot
to determine path roots.
Metadata
Metadata
Assignees
Labels
Pri1Indicates issues/PRs that are high priorityIndicates issues/PRs that are high priorityPri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.IO