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