System.IO.Path.GetPathRoot string.Empty or whitespace character string should throw...
authorViktor Hofer <viktor.hofer@microsoft.com>
Thu, 4 May 2017 21:11:33 +0000 (23:11 +0200)
committerGitHub <noreply@github.com>
Thu, 4 May 2017 21:11:33 +0000 (23:11 +0200)
commit8e99cd8031b2f568ea69116e7cf96d55e32cb7f5
tree15af12174d8aa965d966c833904036f68def54b6
parentbae3ded1b302abdb1d0b46346f03162bddadba40
System.IO.Path.GetPathRoot string.Empty or whitespace character string should throw ArgumentException (#11387)

* GetPathRoot string.Empty and string whitespace throws ArgumentException

* throw in next line

* Refined method description

* Unix impl adjusted

* Indentation

* pr feedback

* Delete Path.Unix.cs

* Adding param to ArgumentException
src/mscorlib/shared/System/IO/Path.Unix.cs
src/mscorlib/shared/System/IO/Path.Windows.cs