ZipArchive now disposes given stream only once (#87982)
* Fix #79695 Even though the IDisposable contract says that you should be able to call Dispose multiple times, be forgiving for implementations that throw when Dispose is called multiple times. * Remove line * Augmented test to explicitly test behavior according to leaveOpen parameter --------- Co-authored-by: etemi <etemi>
Showing
想要评论请 注册 或 登录