32 references to GetExceptionForIoErrno
System.Private.CoreLib (32)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
16throw Interop.GetExceptionForIoErrno(errorInfo, path, isDirError); 99Exception e = Interop.GetExceptionForIoErrno(Sys.GetLastErrorInfo(), path, isDirError);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetCwd.cs (1)
67throw Interop.GetExceptionForIoErrno(errorInfo);
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (5)
338throw Interop.GetExceptionForIoErrno(Interop.Error.EACCES.Info(), path); 369throw Interop.GetExceptionForIoErrno(errorInfo, path); 399throw Interop.GetExceptionForIoErrno(error, path); 436throw Interop.GetExceptionForIoErrno(errorInfo, path); 506throw Interop.GetExceptionForIoErrno(error, path);
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.Unix.cs (2)
75throw Interop.GetExceptionForIoErrno(info, path, isDirError: true); 186throw Interop.GetExceptionForIoErrno(new Interop.ErrorInfo(result), _currentPath, isDirError: true);
src\libraries\System.Private.CoreLib\src\System\IO\FileStatus.Unix.cs (2)
579throw Interop.GetExceptionForIoErrno(new Interop.ErrorInfo(errno), new string(path)); 591throw Interop.GetExceptionForIoErrno(new Interop.ErrorInfo(error), path);
src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (17)
105throw Interop.GetExceptionForIoErrno(errorInfo, destFullPath, isDirError: true); 109throw Interop.GetExceptionForIoErrno(errorInfo, sourceFullPath); 114throw Interop.GetExceptionForIoErrno(errorInfo, destFullPath); 117throw Interop.GetExceptionForIoErrno(errorInfo); 159throw Interop.GetExceptionForIoErrno(errno, destBackupFullPath); 175throw Interop.GetExceptionForIoErrno(errno, destBackupFullPath); 205throw Interop.GetExceptionForIoErrno(errorInfo, destFullPath); 252throw Interop.GetExceptionForIoErrno(errorInfo, fullPath, true); 273throw Interop.GetExceptionForIoErrno(errorInfo, fullPath); 313throw Interop.GetExceptionForIoErrno(errorInfo, fullPath); 363throw Interop.GetExceptionForIoErrno(errorInfo, mkdirPath.ToString()); 392throw Interop.GetExceptionForIoErrno(errorInfo, mkdirPath.ToString()); 461throw Interop.GetExceptionForIoErrno(errorInfo); 568throw Interop.GetExceptionForIoErrno(errorInfo, fullPath, isDirError: true); 587throw Interop.GetExceptionForIoErrno(new Interop.ErrorInfo(Interop.Error.ENOENT), fullPath); 606throw Interop.GetExceptionForIoErrno(new Interop.ErrorInfo(Interop.Error.ENOENT), fullPath); 686throw Interop.GetExceptionForIoErrno(new Interop.ErrorInfo(error), linkPath, isDirectory);
src\libraries\System.Private.CoreLib\src\System\IO\Strategies\FileStreamHelpers.Unix.cs (3)
26throw Interop.GetExceptionForIoErrno(errorInfo, path); 37throw Interop.GetExceptionForIoErrno(new Interop.ErrorInfo(Interop.Error.EINVAL), handle.Path); 54throw Interop.GetExceptionForIoErrno(errorInfo, handle.Path);