Expose Path.TrimEndingDirectorySeparator (dotnet/coreclr#20805)
authorMarco Rossignoli <marco.rossignoli@gmail.com>
Tue, 28 May 2019 18:14:05 +0000 (20:14 +0200)
committerDan Moseley <danmose@microsoft.com>
Tue, 28 May 2019 18:14:05 +0000 (11:14 -0700)
commit88792ed6bbdad4116c261abf94d453e860d890af
tree9a944ec420eaebf199bf470a3d91cd370069b557
parent19c160ee44b514611bbe28e1e9afd0620d2a2d1a
Expose Path.TrimEndingDirectorySeparator (dotnet/coreclr#20805)

* expose TrimEndingDirectorySeparator

* address PR feedback

* updates

* address PR feedback

* fix comment

Commit migrated from https://github.com/dotnet/coreclr/commit/e44730085c65ddb98dad1a3059b4e8f7a1ae33ea
src/coreclr/src/System.Private.CoreLib/src/System/AppContext.CoreCLR.cs
src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs
src/libraries/System.Private.CoreLib/src/System/IO/Path.Windows.cs
src/libraries/System.Private.CoreLib/src/System/IO/Path.cs
src/libraries/System.Private.CoreLib/src/System/IO/PathInternal.cs