33 references to GetExceptionForIoErrno
System.Private.CoreLib (33)
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)
79throw Interop.GetExceptionForIoErrno(info, path, isDirError: true); 201throw 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)); 593throw Interop.GetExceptionForIoErrno(new Interop.ErrorInfo(error), path);
src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (17)
107throw Interop.GetExceptionForIoErrno(errorInfo, destFullPath, isDirError: true); 111throw Interop.GetExceptionForIoErrno(errorInfo, sourceFullPath); 116throw Interop.GetExceptionForIoErrno(errorInfo, destFullPath); 119throw Interop.GetExceptionForIoErrno(errorInfo); 161throw Interop.GetExceptionForIoErrno(errno, destBackupFullPath); 177throw Interop.GetExceptionForIoErrno(errno, destBackupFullPath); 207throw Interop.GetExceptionForIoErrno(errorInfo, destFullPath); 254throw Interop.GetExceptionForIoErrno(errorInfo, fullPath, true); 275throw Interop.GetExceptionForIoErrno(errorInfo, fullPath); 315throw Interop.GetExceptionForIoErrno(errorInfo, fullPath); 365throw Interop.GetExceptionForIoErrno(errorInfo, mkdirPath.ToString()); 394throw Interop.GetExceptionForIoErrno(errorInfo, mkdirPath.ToString()); 463throw Interop.GetExceptionForIoErrno(errorInfo); 570throw Interop.GetExceptionForIoErrno(errorInfo, fullPath, isDirError: true); 589throw Interop.GetExceptionForIoErrno(new Interop.ErrorInfo(Interop.Error.ENOENT), fullPath); 608throw Interop.GetExceptionForIoErrno(new Interop.ErrorInfo(Interop.Error.ENOENT), fullPath); 688throw 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);
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.NonAndroid.cs (1)
284throw Interop.GetExceptionForIoErrno(Interop.Sys.GetLastErrorInfo(), currentPath, isDirError: true);