From 8ec7d4fcb3dff44a35d605ebc52e0042d2557e4e Mon Sep 17 00:00:00 2001 From: Hong Minhee Date: Sun, 28 Apr 2019 04:42:38 +0900 Subject: [PATCH] Fix typo on System.IO.Path API docs --- xml/System.IO/Path.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.IO/Path.xml b/xml/System.IO/Path.xml index 84a9a39fbd2..58047bfbb22 100644 --- a/xml/System.IO/Path.xml +++ b/xml/System.IO/Path.xml @@ -922,7 +922,7 @@ The returned value is `null` if the file path is `null`. The separator characters used to determine the start of the file name are and . -Because *\\* is a legal file name on Unix, `GetFileName` running under Unix-based platforms cannot correctly return the file name from a Windows=based path like *C:\\mydir\\myfile.ext*, but `GetFileName` running under Windows-based platforms can correctly return the file name from a Unix-based path like */tmp/myfile.ext*, so the behavior of the `GetFileName` method is not strictly the same on Unix-based and Windows-based platforms. +Because *\\* is a legal file name on Unix, `GetFileName` running under Unix-based platforms cannot correctly return the file name from a Windows-based path like *C:\\mydir\\myfile.ext*, but `GetFileName` running under Windows-based platforms can correctly return the file name from a Unix-based path like */tmp/myfile.ext*, so the behavior of the `GetFileName` method is not strictly the same on Unix-based and Windows-based platforms. For a list of common I/O tasks, see [Common I/O Tasks](~/docs/standard/io/common-i-o-tasks.md).