33 references to GetExceptionForIoErrno
System.Private.CoreLib (33)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
16
throw Interop.
GetExceptionForIoErrno
(errorInfo, path, isDirError);
99
Exception e = Interop.
GetExceptionForIoErrno
(Sys.GetLastErrorInfo(), path, isDirError);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetCwd.cs (1)
67
throw Interop.
GetExceptionForIoErrno
(errorInfo);
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (5)
338
throw Interop.
GetExceptionForIoErrno
(Interop.Error.EACCES.Info(), path);
369
throw Interop.
GetExceptionForIoErrno
(errorInfo, path);
399
throw Interop.
GetExceptionForIoErrno
(error, path);
436
throw Interop.
GetExceptionForIoErrno
(errorInfo, path);
506
throw Interop.
GetExceptionForIoErrno
(error, path);
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.Unix.cs (2)
79
throw Interop.
GetExceptionForIoErrno
(info, path, isDirError: true);
201
throw Interop.
GetExceptionForIoErrno
(new Interop.ErrorInfo(result), _currentPath, isDirError: true);
src\libraries\System.Private.CoreLib\src\System\IO\FileStatus.Unix.cs (2)
579
throw Interop.
GetExceptionForIoErrno
(new Interop.ErrorInfo(errno), new string(path));
593
throw Interop.
GetExceptionForIoErrno
(new Interop.ErrorInfo(error), path);
src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (17)
107
throw Interop.
GetExceptionForIoErrno
(errorInfo, destFullPath, isDirError: true);
111
throw Interop.
GetExceptionForIoErrno
(errorInfo, sourceFullPath);
116
throw Interop.
GetExceptionForIoErrno
(errorInfo, destFullPath);
119
throw Interop.
GetExceptionForIoErrno
(errorInfo);
161
throw Interop.
GetExceptionForIoErrno
(errno, destBackupFullPath);
177
throw Interop.
GetExceptionForIoErrno
(errno, destBackupFullPath);
207
throw Interop.
GetExceptionForIoErrno
(errorInfo, destFullPath);
254
throw Interop.
GetExceptionForIoErrno
(errorInfo, fullPath, true);
275
throw Interop.
GetExceptionForIoErrno
(errorInfo, fullPath);
315
throw Interop.
GetExceptionForIoErrno
(errorInfo, fullPath);
365
throw Interop.
GetExceptionForIoErrno
(errorInfo, mkdirPath.ToString());
394
throw Interop.
GetExceptionForIoErrno
(errorInfo, mkdirPath.ToString());
463
throw Interop.
GetExceptionForIoErrno
(errorInfo);
570
throw Interop.
GetExceptionForIoErrno
(errorInfo, fullPath, isDirError: true);
589
throw Interop.
GetExceptionForIoErrno
(new Interop.ErrorInfo(Interop.Error.ENOENT), fullPath);
608
throw Interop.
GetExceptionForIoErrno
(new Interop.ErrorInfo(Interop.Error.ENOENT), fullPath);
688
throw Interop.
GetExceptionForIoErrno
(new Interop.ErrorInfo(error), linkPath, isDirectory);
src\libraries\System.Private.CoreLib\src\System\IO\Strategies\FileStreamHelpers.Unix.cs (3)
26
throw Interop.
GetExceptionForIoErrno
(errorInfo, path);
37
throw Interop.
GetExceptionForIoErrno
(new Interop.ErrorInfo(Interop.Error.EINVAL), handle.Path);
54
throw Interop.
GetExceptionForIoErrno
(errorInfo, handle.Path);
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.NonAndroid.cs (1)
284
throw Interop.
GetExceptionForIoErrno
(Interop.Sys.GetLastErrorInfo(), currentPath, isDirError: true);