Change exception throwing in Path.GetRelativePath (dotnet/corefx#38388)
authorRoman Marusyk <Marusyk@users.noreply.github.com>
Fri, 2 Aug 2019 21:55:38 +0000 (00:55 +0300)
committerDan Moseley <danmose@microsoft.com>
Fri, 2 Aug 2019 21:55:38 +0000 (14:55 -0700)
commit7c7dcb190a75f0b84d1e09fb48e6ccd9c60d7061
tree827cc069560a38105b2e2462242eaacc505c305b
parent6667b84dcfd782007ffc3c59b5382030aa907517
Change exception throwing in Path.GetRelativePath (dotnet/corefx#38388)

* Fix Path.GetRelativePath throws ArgumentNullException when relativeTo is empty string

* Code review fixes

Commit migrated from https://github.com/dotnet/corefx/commit/249b5122a33ea08d2d00581ed691642c18ce1448
src/libraries/System.Runtime.Extensions/tests/System/IO/Path.GetRelativePath.cs