9 references to MakeHRFromErrorCode
mscorlib (9)
system\io\__error.cs (6)
162
throw new IOException(Environment.GetResourceString("IO.IO_AlreadyExists_Name", str), Win32Native.
MakeHRFromErrorCode
(errorCode), maybeFullPath);
171
throw new IOException(Win32Native.GetMessage(errorCode), Win32Native.
MakeHRFromErrorCode
(errorCode), maybeFullPath);
175
throw new IOException(Environment.GetResourceString("IO.IO_SharingViolation_NoFileName"), Win32Native.
MakeHRFromErrorCode
(errorCode), maybeFullPath);
177
throw new IOException(Environment.GetResourceString("IO.IO_SharingViolation_File", str), Win32Native.
MakeHRFromErrorCode
(errorCode), maybeFullPath);
182
throw new IOException(Environment.GetResourceString("IO.IO_FileExists_Name", str), Win32Native.
MakeHRFromErrorCode
(errorCode), maybeFullPath);
188
throw new IOException(Win32Native.GetMessage(errorCode), Win32Native.
MakeHRFromErrorCode
(errorCode), maybeFullPath);
system\io\directory.cs (1)
1273
throw new IOException(Environment.GetResourceString("UnauthorizedAccess_IODenied_Path", sourceDirName), Win32Native.
MakeHRFromErrorCode
(hr));
system\io\longpath.cs (1)
665
throw new IOException(Environment.GetResourceString("UnauthorizedAccess_IODenied_Path", sourceDirName), Win32Native.
MakeHRFromErrorCode
(hr));
system\resources\manifestbasedresourcegroveler.cs (1)
568
if (hr != Win32Native.
MakeHRFromErrorCode
(Win32Native.ERROR_ACCESS_DENIED))