12 references to RawErrno
System.Private.CoreLib (12)
src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (2)
145return Interop.Sys.StrError(RawErrno); 150return $"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)
151new IOException(SR.Format(SR.IO_SharingViolation_File, path), errorInfo.RawErrno) : 152new IOException(SR.IO_SharingViolation_NoFileName, errorInfo.RawErrno); 163return new IOException(SR.Format(SR.IO_FileExists_Name, path), errorInfo.RawErrno); 183string.IsNullOrEmpty(path) ? msg : $"{msg} : '{path}'", errorInfo.RawErrno);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetPwUid.cs (1)
93throw 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)
522Debug.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)
457throw new IOException(SR.Format(SR.UnauthorizedAccess_IODenied_Path, sourceFullPath), errorInfo.RawErrno);
src\libraries\System.Private.CoreLib\src\System\IO\PersistedFiles.Unix.cs (1)
126throw new IOException(errorInfo.GetErrorMessage(), errorInfo.RawErrno);