You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...gives only "The file exists."
I think this is because File.cs:135 is using throw Common.GetExceptionFromLastWin32Error() instead of Common.ThrowIOError(errorCode, fullPath).
Maybe GetExceptionFromLastWin32Error() could do with taking an optional fullPath argument? It looks like perhaps ThrowIOError and GetExceptionFromLastWin32Error ought to be unified, given what they do - not sure on your thoughts on that.
Thanks for the brilliantly useful library, by the way! :-)
The text was updated successfully, but these errors were encountered:
...gives
"The file 'e:\bar' already exists."
in the thrownIOException
'sMessage
, whereas:...gives only
"The file exists."
I think this is because File.cs:135 is using
throw Common.GetExceptionFromLastWin32Error()
instead ofCommon.ThrowIOError(errorCode, fullPath)
.Maybe
GetExceptionFromLastWin32Error()
could do with taking an optionalfullPath
argument? It looks like perhapsThrowIOError
andGetExceptionFromLastWin32Error
ought to be unified, given what they do - not sure on your thoughts on that.Thanks for the brilliantly useful library, by the way! :-)
The text was updated successfully, but these errors were encountered: