case MonoIOError.ERROR_NOT_SAME_DEVICE:
message = "Source and destination are not on the same device";
return new IOException (message, unchecked((int)0x80070000) | (int)error);
+
+ case MonoIOError.ERROR_DIRECTORY:
+ message = "The directory name is invalid";
+ return new IOException (message, unchecked((int)0x80070000) | (int)error);
default:
message = String.Format ("Win32 IO returned {0}. Path: {1}", error, path);
WAIT_TIMEOUT = 258,\r
ERROR_NO_MORE_ITEMS = 259,\r
ERROR_CANNOT_COPY = 266,\r
- ERROR_DIRECTORY = 267,\r
- ERROR_EAS_DIDNT_FIT = 275,\r
+ */ ERROR_DIRECTORY = 267,\r
+ /* ERROR_EAS_DIDNT_FIT = 275,\r
ERROR_EA_FILE_CORRUPT = 276,\r
ERROR_EA_TABLE_FULL = 277,\r
ERROR_INVALID_EA_HANDLE = 278,\r