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