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)
commit9f6cf76b92e92e39c8dfa04fae4c1bb88bffdeb5
tree373d46350edf57ff656d61d4323577dc52eaec20
parent99aa18c8102bfc51c123d33d72d2dc36a5896060
System.IO.Path.GetPathRoot string.Empty or whitespace character string should throw ArgumentException (dotnet/coreclr#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

Commit migrated from https://github.com/dotnet/coreclr/commit/8e99cd8031b2f568ea69116e7cf96d55e32cb7f5
src/coreclr/src/mscorlib/shared/System/IO/Path.Unix.cs
src/coreclr/src/mscorlib/shared/System/IO/Path.Windows.cs