internal static Exception GetIOException(Interop.ErrorInfo errorInfo) { return new IOException(errorInfo.GetErrorMessage(), errorInfo.RawErrno); }