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