51 references to GetExceptionForIoErrno
System.Private.CoreLib (51)
src\runtime\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\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetCwd.cs (1)
68
throw Interop.
GetExceptionForIoErrno
(errorInfo);
src\runtime\src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (8)
65
throw Interop.
GetExceptionForIoErrno
(Interop.Sys.GetLastErrorInfo(), Path);
206
throw Interop.
GetExceptionForIoErrno
(error);
386
throw Interop.
GetExceptionForIoErrno
(Interop.Error.EACCES.Info(), path);
423
throw Interop.
GetExceptionForIoErrno
(errorInfo, path);
453
throw Interop.
GetExceptionForIoErrno
(error, path);
490
throw Interop.
GetExceptionForIoErrno
(errorInfo, path);
538
throw Interop.
GetExceptionForIoErrno
(error, path);
553
throw Interop.
GetExceptionForIoErrno
(error, Path);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.Unix.cs (2)
88
throw Interop.
GetExceptionForIoErrno
(info, path, isDirError: true);
199
throw Interop.
GetExceptionForIoErrno
(new Interop.ErrorInfo(result), _currentPath, isDirError: true);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStatus.Unix.cs (2)
572
throw Interop.
GetExceptionForIoErrno
(new Interop.ErrorInfo(errno), new string(path));
584
throw Interop.
GetExceptionForIoErrno
(new Interop.ErrorInfo(error), path);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\IO\SharedMemoryManager.Unix.cs (14)
225
throw Interop.
GetExceptionForIoErrno
(error, sharedMemoryFilePath);
233
throw Interop.
GetExceptionForIoErrno
(error, sharedMemoryFilePath);
244
throw Interop.
GetExceptionForIoErrno
(error, sharedMemoryFilePath);
256
throw Interop.
GetExceptionForIoErrno
(errorInfo, sharedMemoryFilePath);
436
throw Interop.
GetExceptionForIoErrno
(error, sharedMemoryFilePath);
476
throw Interop.
GetExceptionForIoErrno
(error, sharedMemoryFilePath);
507
throw Interop.
GetExceptionForIoErrno
(error, sharedMemoryFilePath);
519
throw Interop.
GetExceptionForIoErrno
(error, sharedMemoryFilePath);
590
throw Interop.
GetExceptionForIoErrno
(mkdirError, directoryPath);
607
throw Interop.
GetExceptionForIoErrno
(error, directoryPath);
722
throw Interop.
GetExceptionForIoErrno
(errorInfo, "Failed to memory map the file");
748
throw Interop.
GetExceptionForIoErrno
(errorInfo);
822
throw Interop.
GetExceptionForIoErrno
(error, SharedMemoryHelpers.SharedFilesPath);
841
throw Interop.
GetExceptionForIoErrno
(error, sharedMemoryDirectory);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\UnixFileStreamStrategy.cs (1)
36
throw Interop.
GetExceptionForIoErrno
(errorInfo, _fileHandle.Path);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\NamedMutex.Unix.cs (1)
272
throw Interop.
GetExceptionForIoErrno
(errorInfo, SR.Arg_FailedToInitializePThreadMutex);