7 references to MakeHRFromErrorCode
System.Core (7)
System\IO\__Error.cs (6)
183
throw new IOException(SR.GetString(SR.IO_IO_AlreadyExists_Name, str), UnsafeNativeMethods.
MakeHRFromErrorCode
(errorCode));
192
throw new IOException(UnsafeNativeMethods.GetMessage(errorCode), UnsafeNativeMethods.
MakeHRFromErrorCode
(errorCode));
196
throw new IOException(SR.GetString(SR.IO_IO_SharingViolation_NoFileName), UnsafeNativeMethods.
MakeHRFromErrorCode
(errorCode));
199
throw new IOException(SR.GetString(SR.IO_IO_SharingViolation_File, str), UnsafeNativeMethods.
MakeHRFromErrorCode
(errorCode));
206
throw new IOException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.IO_IO_FileExists_Name), str), UnsafeNativeMethods.
MakeHRFromErrorCode
(errorCode));
212
throw new IOException(UnsafeNativeMethods.GetMessage(errorCode), UnsafeNativeMethods.
MakeHRFromErrorCode
(errorCode));
System\IO\Pipes\PipeStream.cs (1)
1151
throw new IOException(SR.GetString(SR.IO_IO_PipeBroken), UnsafeNativeMethods.
MakeHRFromErrorCode
(errorCode));