22 references to Error
System.Diagnostics.Process (22)
src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (7)
118private readonly Error _error; 127internal ErrorInfo(Error error) 133internal Error Error 156internal static Error GetLastError() 197internal static partial Error ConvertErrorPlatformToPal(int platformErrno); 201internal static partial int ConvertErrorPalToPlatform(Error error); 219public static Interop.ErrorInfo Info(this Interop.Error error)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetPwUid.cs (1)
86if (errorInfo.Error == Interop.Error.ERANGE)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.IsMemberOfGroup.cs (1)
38else if (rv == -1 && Interop.Sys.GetLastError() == Interop.Error.EINVAL)
System\Diagnostics\Process.Unix.cs (9)
79Interop.Error error = Interop.Sys.GetLastError(); 82if (error == Interop.Error.ESRCH) 115Interop.Error error = Interop.Sys.GetLastError(); 117if (error != Interop.Error.ESRCH) 129Interop.Error error = Interop.Sys.GetLastError(); 131if (error != Interop.Error.ESRCH) 498Interop.ErrorInfo errno = Interop.Error.ENOENT.Info(); 541new Interop.ErrorInfo(errno).Error == Interop.Error.ENOEXEC) 1045if (errorInfo.Error == Interop.Error.ERANGE)
System\Diagnostics\ProcessManager.Unix.cs (1)
32return 0 == output || (-1 == output && Interop.Error.EPERM == Interop.Sys.GetLastError());
System\Diagnostics\ProcessWaitState.Unix.cs (3)
364Interop.Error errno = Interop.Sys.GetLastError(); 365if (errno == Interop.Error.ESRCH) 370else if (errno == Interop.Error.EPERM)