Change exception throwing in Path.GetRelativePath (#25047)
authorRoman Marusyk <Marusyk@users.noreply.github.com>
Sun, 23 Jun 2019 02:55:17 +0000 (05:55 +0300)
committerJan Kotas <jkotas@microsoft.com>
Sun, 23 Jun 2019 02:55:17 +0000 (19:55 -0700)
commit717b32703b59682479c04399c03fe0ebfa79c22f
treec3c4b4f9d3ea3ec6e77544c9df8d87a7388f7571
parent248f087b8db718880c82ccd95286c133f2c36ec8
Change exception throwing in Path.GetRelativePath (#25047)

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

* Fix ArgumentException for relativeTo
src/System.Private.CoreLib/shared/System/IO/Path.cs