56 references to SUCCESS
System.Net.Sockets (56)
src\libraries\Common\src\System\Net\SocketAddressPal.Unix.cs (2)
27
Debug.Assert(err == Interop.Error.
SUCCESS
, $"Unexpected err: {err}");
43
case Interop.Error.
SUCCESS
:
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
76
{ Interop.Error.
SUCCESS
, SocketError.Success },
123
{ SocketError.Success, Interop.Error.
SUCCESS
},
System\Net\Sockets\SafeSocketHandle.Unix.cs (5)
210
if (err == Interop.Error.
SUCCESS
)
229
Interop.Error errorCode = Interop.Error.
SUCCESS
;
281
case Interop.Error.
SUCCESS
:
296
Interop.Error errorCode = Interop.Error.
SUCCESS
;
308
errorCode = Interop.Error.
SUCCESS
;
System\Net\Sockets\Socket.Unix.cs (1)
94
Debug.Assert(e == Interop.Error.
SUCCESS
, e.ToString());
System\Net\Sockets\SocketAsyncContext.Unix.cs (2)
923
Debug.Assert(error != Interop.Error.
SUCCESS
);
1319
error = Interop.Error.
SUCCESS
;
System\Net\Sockets\SocketAsyncEngine.Unix.cs (4)
153
if (error == Interop.Error.
SUCCESS
)
188
if (err != Interop.Error.
SUCCESS
)
197
if (err != Interop.Error.
SUCCESS
)
226
if (err != Interop.Error.
SUCCESS
)
System\Net\Sockets\SocketPal.Unix.cs (40)
66
if (error == Interop.Error.
SUCCESS
)
79
if (error != Interop.Error.
SUCCESS
)
114
errno = received != -1 ? Interop.Error.
SUCCESS
: Interop.Sys.GetLastError();
136
if (errno != Interop.Error.
SUCCESS
)
177
if (errno != Interop.Error.
SUCCESS
)
200
errno = Interop.Error.
SUCCESS
;
231
if (errno != Interop.Error.
SUCCESS
)
275
if (errno != Interop.Error.
SUCCESS
)
347
if (errno != Interop.Error.
SUCCESS
)
397
if (errno != Interop.Error.
SUCCESS
)
475
if (errno != Interop.Error.
SUCCESS
)
522
if (errno != Interop.Error.
SUCCESS
)
597
if (errno == Interop.Error.
SUCCESS
)
648
if (errno == Interop.Error.
SUCCESS
)
697
if (err == Interop.Error.
SUCCESS
)
726
if (err == Interop.Error.
SUCCESS
)
745
if (err != Interop.Error.
SUCCESS
)
752
if (socketError == Interop.Error.
SUCCESS
)
1054
if (errno != Interop.Error.
SUCCESS
)
1086
return err == Interop.Error.
SUCCESS
? SocketError.Success : GetSocketErrorForErrorCode(err);
1095
return err == Interop.Error.
SUCCESS
? SocketError.Success : GetSocketErrorForErrorCode(err);
1104
return err == Interop.Error.
SUCCESS
? SocketError.Success : GetSocketErrorForErrorCode(err);
1117
return err == Interop.Error.
SUCCESS
? SocketError.Success : GetSocketErrorForErrorCode(err);
1124
return err == Interop.Error.
SUCCESS
? SocketError.Success : GetSocketErrorForErrorCode(err);
1130
return err == Interop.Error.
SUCCESS
? SocketError.Success : GetSocketErrorForErrorCode(err);
1423
if (err == Interop.Error.
SUCCESS
)
1474
if (err == Interop.Error.
SUCCESS
)
1517
if (err == Interop.Error.
SUCCESS
)
1621
return getErrorError == Interop.Error.
SUCCESS
? SocketError.Success : GetSocketErrorForErrorCode(getErrorError);
1640
return err == Interop.Error.
SUCCESS
? SocketError.Success : GetSocketErrorForErrorCode(err);
1675
if (err == Interop.Error.
SUCCESS
)
1693
if (err == Interop.Error.
SUCCESS
)
1713
if (err != Interop.Error.
SUCCESS
)
1738
if (err != Interop.Error.
SUCCESS
)
1752
if (err != Interop.Error.
SUCCESS
)
1776
if (err != Interop.Error.
SUCCESS
)
1852
if (err != Interop.Error.
SUCCESS
)
1957
if (err != Interop.Error.
SUCCESS
)
2052
if (err == Interop.Error.
SUCCESS
)
2178
if (err != Interop.Error.
SUCCESS
)