Incorrect documented IOException in ZipFile.ExtractToDirectory #53609
Labels
area-System.IO.Compression
documentation
Documentation bug or enhancement, does not impact product or test code
help wanted
[up-for-grabs] Good issue for external contributors
Milestone
In
ZipFile.ExtractToDirectory
andZipFileExtensions.ExtractToDirectory
, the remarks and documentation say that IOException is thrown if the destination directory already exists. This is incorrect, as the method that's eventually called, the internal ExtractRelativeToDirectory method works fine with existing destination folders.This was first asked in this SO question. I also opened an issue in the dotnett-api-docs repo
runtime/src/libraries/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFile.Extract.cs
Line 64 in 0e557e8
The text was updated successfully, but these errors were encountered: