3internal static class Win32Marshal
16 if (!
string.IsNullOrEmpty(path))
26 if (!
string.IsNullOrEmpty(path))
39 if ((0xFFFF0000u & errorCode) != 0
L)
43 return -2147024896 | errorCode;
48 return global::Interop.Kernel32.GetMessage(errorCode);
static int MakeHRFromErrorCode(int errorCode)
static string GetMessage(int errorCode)
static Exception GetExceptionForWin32Error(int errorCode, string path="")
static string IO_FileExists_Name
static string IO_PathTooLong
static string IO_AlreadyExists_Name
static string Format(string resourceFormat, object p1)
static string IO_SharingViolation_File
static string UnauthorizedAccess_IODenied_Path
static string IO_SharingViolation_NoFileName
static string IO_PathNotFound_NoPathName
static string IO_FileNotFound
static string IO_FileNotFound_FileName
static string IO_PathTooLong_Path
static string IO_PathNotFound_Path
static string UnauthorizedAccess_IODenied_NoPathName