peteraritchie / LongPath

drop-in library to support long paths in .NET
GNU Lesser General Public License v3.0
112 stars 43 forks source link

Path.GetPathRoot() throws IndexOutOfRangeException #87

Open PaGrom opened 4 years ago

PaGrom commented 4 years ago

Path.GetPathRoot(@"\\root");

throws

System.IndexOutOfRangeException: 'Index was outside the bounds of the array.'