20 references to Success
ClientSample (1)
Tcp\SocketAwaitable.cs (1)
40if (_error != SocketError.Success)
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (2)
481if (_asyncWriteEventArgs.SocketError == SocketError.Success) 720if (_asyncReadEventArgs.SocketError == SocketError.Success)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (6)
Internal\SocketAwaitableEventArgs.cs (2)
51if (SocketError != SocketError.Success) 67SocketError == SocketError.Success ? ValueTaskSourceStatus.Succeeded :
Internal\SocketReceiver.cs (2)
27return error == SocketError.Success 44return error == SocketError.Success
Internal\SocketSender.cs (2)
37return error == SocketError.Success 71return error == SocketError.Success
Sockets.BindTests (2)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (2)
1231return mre.Wait(5000) && socketArgs.SocketError == SocketError.Success; 1236return socketArgs.SocketError == SocketError.Success;
System.Net.HttpListener (1)
System\Net\Managed\HttpEndPointListener.cs (1)
110Socket? accepted = args.SocketError == SocketError.Success ? args.AcceptSocket : null;
System.Net.Ping (3)
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\NetworkInformation\Ping.RawSocket.cs (1)
314if (result == SocketError.Success && header.SocketAddressLen > 0)
System.ServiceModel.UnixDomainSocket (5)
System\ServiceModel\Channels\SocketAwaitableEventArgs.cs (5)
43return error == SocketError.Success 60return error == SocketError.Success 83if (SocketError != SocketError.Success) 95if (SocketError != SocketError.Success) 109SocketError == SocketError.Success ? ValueTaskSourceStatus.Succeeded :