32 references to GetExceptionForIoErrno
System.Private.CoreLib (32)
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)
75
throw Interop.
GetExceptionForIoErrno
(info, path, isDirError: true);
186
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));
591
throw Interop.
GetExceptionForIoErrno
(new Interop.ErrorInfo(error), path);
src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (17)
105
throw Interop.
GetExceptionForIoErrno
(errorInfo, destFullPath, isDirError: true);
109
throw Interop.
GetExceptionForIoErrno
(errorInfo, sourceFullPath);
114
throw Interop.
GetExceptionForIoErrno
(errorInfo, destFullPath);
117
throw Interop.
GetExceptionForIoErrno
(errorInfo);
159
throw Interop.
GetExceptionForIoErrno
(errno, destBackupFullPath);
175
throw Interop.
GetExceptionForIoErrno
(errno, destBackupFullPath);
205
throw Interop.
GetExceptionForIoErrno
(errorInfo, destFullPath);
252
throw Interop.
GetExceptionForIoErrno
(errorInfo, fullPath, true);
273
throw Interop.
GetExceptionForIoErrno
(errorInfo, fullPath);
313
throw Interop.
GetExceptionForIoErrno
(errorInfo, fullPath);
363
throw Interop.
GetExceptionForIoErrno
(errorInfo, mkdirPath.ToString());
392
throw Interop.
GetExceptionForIoErrno
(errorInfo, mkdirPath.ToString());
461
throw Interop.
GetExceptionForIoErrno
(errorInfo);
568
throw Interop.
GetExceptionForIoErrno
(errorInfo, fullPath, isDirError: true);
587
throw Interop.
GetExceptionForIoErrno
(new Interop.ErrorInfo(Interop.Error.ENOENT), fullPath);
606
throw Interop.
GetExceptionForIoErrno
(new Interop.ErrorInfo(Interop.Error.ENOENT), fullPath);
686
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);