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