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