10 references to RawErrno
System.IO.FileSystem.Watcher (10)
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);
System\IO\FileSystemWatcher.Linux.cs (4)
48throw new IOException(message, error.RawErrno); 50throw new IOException(SR.IOException_INotifyInstanceSystemLimitExceeded, error.RawErrno); 395exc = new IOException(message, error.RawErrno); 475catch (IOException ex) when (ex.HResult == Interop.Error.ENOTDIR.Info().RawErrno)