50 references to GetLastErrorInfo
System.Private.CoreLib (50)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (3)
42
ThrowExceptionForIoErrno(Sys.
GetLastErrorInfo
(), path, isDirError);
53
ThrowExceptionForIoErrno(Sys.
GetLastErrorInfo
(), path: null, isDirError: false);
99
Exception e = Interop.GetExceptionForIoErrno(Sys.
GetLastErrorInfo
(), path, isDirError);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetCwd.cs (1)
63
ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
src\runtime\src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (9)
66
throw Interop.GetExceptionForIoErrno(Interop.Sys.
GetLastErrorInfo
(), Path);
120
Interop.ErrorInfo error = Interop.Sys.
GetLastErrorInfo
();
206
Interop.ErrorInfo error = Interop.Sys.
GetLastErrorInfo
();
423
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
449
Interop.ErrorInfo error = Interop.Sys.
GetLastErrorInfo
();
487
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
500
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
540
Interop.ErrorInfo error = Interop.Sys.
GetLastErrorInfo
();
567
Interop.ErrorInfo error = Interop.Sys.
GetLastErrorInfo
();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Environment.UnixOrBrowser.cs (1)
66
Interop.ErrorInfo errno = Interop.Sys.
GetLastErrorInfo
();
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.Unix.cs (1)
83
Interop.ErrorInfo info = Interop.Sys.
GetLastErrorInfo
();
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStatus.Unix.cs (1)
504
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Exists.Unix.cs (2)
23
errorInfo = Interop.Sys.
GetLastErrorInfo
();
51
errorInfo = Interop.Sys.
GetLastErrorInfo
();
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (10)
87
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
156
Interop.ErrorInfo errno = Interop.Sys.
GetLastErrorInfo
();
172
Interop.ErrorInfo errno = Interop.Sys.
GetLastErrorInfo
();
197
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
243
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
302
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
346
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
376
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
451
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
529
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\RandomAccess.Unix.cs (4)
42
if (result == -1 && ShouldFallBackToNonOffsetSyscall(Interop.Sys.
GetLastErrorInfo
()))
81
if (result == -1 && ShouldFallBackToNonOffsetSyscall(Interop.Sys.
GetLastErrorInfo
()))
132
if (bytesWritten == -1 && ShouldFallBackToNonOffsetSyscall(Interop.Sys.
GetLastErrorInfo
()))
212
if (bytesWritten == -1 && ShouldFallBackToNonOffsetSyscall(Interop.Sys.
GetLastErrorInfo
()))
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\SharedMemoryManager.Unix.cs (14)
224
Interop.ErrorInfo error = Interop.Sys.
GetLastErrorInfo
();
232
Interop.ErrorInfo error = Interop.Sys.
GetLastErrorInfo
();
243
Interop.ErrorInfo error = Interop.Sys.
GetLastErrorInfo
();
255
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
427
Interop.ErrorInfo error = Interop.Sys.
GetLastErrorInfo
();
434
error = Interop.Sys.
GetLastErrorInfo
();
498
error = Interop.Sys.
GetLastErrorInfo
();
516
error = Interop.Sys.
GetLastErrorInfo
();
587
Interop.ErrorInfo mkdirError = Interop.Sys.
GetLastErrorInfo
();
598
Interop.ErrorInfo error = Interop.Sys.
GetLastErrorInfo
();
721
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
742
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
821
Interop.ErrorInfo error = Interop.Sys.
GetLastErrorInfo
();
839
Interop.ErrorInfo error = Interop.Sys.
GetLastErrorInfo
();
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\FileStreamHelpers.Unix.cs (2)
23
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
44
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\UnixFileStreamStrategy.cs (1)
33
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\NamedMutex.Unix.cs (1)
271
Interop.ErrorInfo errorInfo = Interop.Sys.
GetLastErrorInfo
();