6 references to RawErrno
System.IO.FileSystem.DriveInfo (6)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (2)
146return Interop.Sys.StrError(RawErrno); 151return $"RawErrno: {RawErrno} Error: {Error} GetErrorMessage: {GetErrorMessage()}"; // No localization required; text is member names used for debugging purposes
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (4)
155new IOException(SR.Format(SR.IO_SharingViolation_File, path), errorInfo.RawErrno) : 156new IOException(SR.IO_SharingViolation_NoFileName, errorInfo.RawErrno); 167return new IOException(SR.Format(SR.IO_FileExists_Name, path), errorInfo.RawErrno); 187string.IsNullOrEmpty(path) ? msg : $"{msg} : '{path}'", errorInfo.RawErrno);