34 references to Error
System.Formats.Tar (34)
LibraryImports.g.cs (11)
7
internal static extern partial global::Interop.
Error
ConvertErrorPlatformToPal(int platformErrno);
15
internal static extern partial int ConvertErrorPalToPlatform(global::Interop.
Error
error);
31
internal static unsafe extern partial global::Interop.
Error
GetSocketAddressSizes(int* ipv4SocketAddressSize, int* ipv6SocketAddressSize, int* udsSocketAddressSize, int* maxSocketAddressSize);
39
internal static unsafe extern partial global::Interop.
Error
GetAddressFamily(byte* socketAddress, int socketAddressLen, int* addressFamily);
47
internal static unsafe extern partial global::Interop.
Error
SetAddressFamily(byte* socketAddress, int socketAddressLen, int addressFamily);
55
internal static unsafe extern partial global::Interop.
Error
GetPort(byte* socketAddress, int socketAddressLen, ushort* port);
63
internal static unsafe extern partial global::Interop.
Error
SetPort(byte* socketAddress, int socketAddressLen, ushort port);
71
internal static unsafe extern partial global::Interop.
Error
GetIPv4Address(byte* socketAddress, int socketAddressLen, uint* address);
79
internal static unsafe extern partial global::Interop.
Error
SetIPv4Address(byte* socketAddress, int socketAddressLen, uint address);
87
internal static unsafe extern partial global::Interop.
Error
GetIPv6Address(byte* socketAddress, int socketAddressLen, byte* address, int addressLen, uint* scopeId);
95
internal static unsafe extern partial global::Interop.
Error
SetIPv6Address(byte* socketAddress, int socketAddressLen, byte* address, int addressLen, uint scopeId);
src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (7)
119
private readonly
Error
_error;
128
internal ErrorInfo(
Error
error)
134
internal
Error
Error
157
internal static
Error
GetLastError()
198
internal static partial
Error
ConvertErrorPlatformToPal(int platformErrno);
202
internal static partial int ConvertErrorPalToPlatform(
Error
error);
220
public static Interop.ErrorInfo Info(this Interop.
Error
error)
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (15)
13
Debug.Assert(errorInfo.Error !=
Error
.SUCCESS);
14
Debug.Assert(errorInfo.Error !=
Error
.EINTR, "EINTR errors should be handled by the native shim and never bubble up to managed code");
19
internal static void CheckIo(
Error
error, string? path = null, bool isDirError = false)
21
if (error != Interop.
Error
.SUCCESS)
120
case
Error
.ENOENT:
129
goto case
Error
.ENOTDIR;
131
case
Error
.ENOTDIR:
136
case
Error
.EACCES:
137
case
Error
.EBADF:
138
case
Error
.EPERM:
144
case
Error
.ENAMETOOLONG:
149
case
Error
.EWOULDBLOCK:
154
case
Error
.ECANCELED:
157
case
Error
.EFBIG:
160
case
Error
.EEXIST:
src\libraries\Common\src\Interop\Unix\System.Native\Interop.GetPwUid.cs (1)
87
if (errorInfo.Error == Interop.
Error
.ERANGE)