49 references to GetExceptionForIoErrno
System.Private.CoreLib (49)
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 (6)
327throw Interop.GetExceptionForIoErrno(Interop.Error.EACCES.Info(), path); 364throw Interop.GetExceptionForIoErrno(errorInfo, path); 394throw Interop.GetExceptionForIoErrno(error, path); 431throw Interop.GetExceptionForIoErrno(errorInfo, path); 479throw Interop.GetExceptionForIoErrno(error, path); 506throw Interop.GetExceptionForIoErrno(error, Path);
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.Unix.cs (2)
88throw Interop.GetExceptionForIoErrno(info, path, isDirError: true); 199throw 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)
224throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 232throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 243throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 255throw Interop.GetExceptionForIoErrno(errorInfo, sharedMemoryFilePath); 431throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 452throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 475throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 485throw Interop.GetExceptionForIoErrno(error, sharedMemoryFilePath); 543throw Interop.GetExceptionForIoErrno(error, tempPath); 579throw Interop.GetExceptionForIoErrno(error, directoryPath); 662throw Interop.GetExceptionForIoErrno(errorInfo, "Failed to memory map the file"); 688throw Interop.GetExceptionForIoErrno(errorInfo); 762throw Interop.GetExceptionForIoErrno(error, SharedMemoryHelpers.SharedFilesPath); 781throw 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)
270throw Interop.GetExceptionForIoErrno(errorInfo, SR.Arg_FailedToInitializePThreadMutex);