12 references to RawErrno
System.Private.CoreLib (12)
src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (2)
145
return Interop.Sys.StrError(
RawErrno
);
150
return $"RawErrno: {
RawErrno
} Error: {Error} GetErrorMessage: {GetErrorMessage()}"; // No localization required; text is member names used for debugging purposes
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (4)
151
new IOException(SR.Format(SR.IO_SharingViolation_File, path), errorInfo.
RawErrno
) :
152
new IOException(SR.IO_SharingViolation_NoFileName, errorInfo.
RawErrno
);
163
return new IOException(SR.Format(SR.IO_FileExists_Name, path), errorInfo.
RawErrno
);
183
string.IsNullOrEmpty(path) ? msg : $"{msg} : '{path}'", errorInfo.
RawErrno
);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetPwUid.cs (1)
93
throw new IOException(errorInfo.GetErrorMessage(), errorInfo.
RawErrno
);
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.Unix.cs (1)
60
=> (ignoreNotFound && IsDirectoryNotFound(info)) || (_options.IgnoreInaccessible && IsAccessError(info)) || ContinueOnError(info.
RawErrno
);
src\libraries\System.Private.CoreLib\src\System\IO\FileStatus.Unix.cs (2)
522
Debug.Assert(errorInfo.
RawErrno
> 0); // Expect a positive integer
523
_state = errorInfo.
RawErrno
; // Initialized with error.
src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (1)
457
throw new IOException(SR.Format(SR.UnauthorizedAccess_IODenied_Path, sourceFullPath), errorInfo.
RawErrno
);
src\libraries\System.Private.CoreLib\src\System\IO\PersistedFiles.Unix.cs (1)
126
throw new IOException(errorInfo.GetErrorMessage(), errorInfo.
RawErrno
);