Skip to content

Commit faf4e93

Browse files
Hex052antonfirsov
andauthored
Remove reference to paths ending with backslashes, make more platform-agnostic (dotnet#5419)
* Make docs match how it works on non-Windows On Windows, this does end with a backslash. But on Linux, it returns `/tmp/`, which ends in a forward slash. Really, this should read that it ends in DirectorySeparatorChar * Update xml/System.IO/Path.xml GetFullPath Add reference to the other field Co-authored-by: Anton Firszov <[email protected]> Co-authored-by: Anton Firszov <[email protected]>
1 parent 63308eb commit faf4e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.IO/Path.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,7 @@ Paths are resolved by calling the <xref:System.IO.Path.GetFullPath%2A> method be
19061906
<Parameters />
19071907
<Docs>
19081908
<summary>Returns the path of the current user's temporary folder.</summary>
1909-
<returns>The path to the temporary folder, ending with a backslash.</returns>
1909+
<returns>The path to the temporary folder, ending with a <see cref="DirectorySeparatorChar"/>.</returns>
19101910
<remarks>
19111911
<format type="text/markdown"><![CDATA[
19121912

0 commit comments

Comments
 (0)