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 ArgumentOutOfRangeException #78

Closed PaGrom closed 4 years ago

PaGrom commented 5 years ago

Path.GetPathRoot("\\\\root\\base"); throws exception: System.ArgumentOutOfRangeException: 'Index and length must refer to a location within the string. Parameter name: length'

peteraritchie commented 4 years ago

fixed in 2.0.51