48 references to GetExceptionForIoErrno
System.Private.CoreLib (48)
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)
68throw Interop.GetExceptionForIoErrno(errorInfo);
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (5)
327throw Interop.GetExceptionForIoErrno(Interop.Error.EACCES.Info(), path); 361throw Interop.GetExceptionForIoErrno(errorInfo, path); 391throw Interop.GetExceptionForIoErrno(error, path); 428throw Interop.GetExceptionForIoErrno(errorInfo, path); 498throw 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); 691throw Interop.GetExceptionForIoErrno(new Interop.ErrorInfo(error), linkPath, isDirectory);
src\libraries\System.Private.CoreLib\src\System\IO\SharedMemoryManager.Unix.cs (14)
223throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 231throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 242throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 254throw Interop.GetExceptionForIoErrno(errorInfo, sharedMemoryFilePath); 429throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 450throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 473throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 483throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 541throw Interop.GetExceptionForIoErrno(error, tempPath); 577throw Interop.GetExceptionForIoErrno(error, directoryPath); 660throw Interop.GetExceptionForIoErrno(errorInfo, "Failed to memory map the file"); 686throw Interop.GetExceptionForIoErrno(errorInfo); 758throw Interop.GetExceptionForIoErrno(error, SharedMemoryHelpers.SharedFilesPath); 777throw Interop.GetExceptionForIoErrno(error, sharedMemoryDirectory);
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\IO\Strategies\UnixFileStreamStrategy.cs (1)
36throw Interop.GetExceptionForIoErrno(errorInfo, _fileHandle.Path);
src\libraries\System.Private.CoreLib\src\System\Threading\NamedMutex.Unix.cs (1)
269throw Interop.GetExceptionForIoErrno(errorInfo, SR.Arg_FailedToInitializePThreadMutex);