165 references to Success
System (162)
net\System\Net\_AutoWebProxyScriptHelper.cs (2)
595
if(errorCode != SocketError.
Success
)
607
if(errorCode != SocketError.
Success
)
net\System\Net\_SafeNetHandles.cs (5)
2597
return ret = errorCode == SocketError.
Success
;
2628
if (errorCode == SocketError.
Success
)
2641
return ret = errorCode == SocketError.
Success
;
2665
if (errorCode != SocketError.
Success
&& errorCode != SocketError.InvalidArgument && errorCode != SocketError.ProtocolOption)
2678
return ret = errorCode == SocketError.
Success
;
net\System\Net\DNS.cs (10)
354
SocketError errorCode = SocketError.
Success
;
365
if(errorCode == SocketError.
Success
) {
370
if (errorCode == SocketError.
Success
)
469
if (errorCode!=SocketError.
Success
) {
572
if (SocketError.
Success
!= TryGetAddrInfo(hostName, AddressInfoHints.AI_CANONNAME, out canonicalResult))
601
if (SocketError.
Success
!= TryGetAddrInfo(hostName, AddressInfoHints.AI_FQDN, out fqdnResult))
1077
if (errorCode != SocketError.
Success
) {
1114
if (errorCode != SocketError.
Success
) { // Should not throw, return mostly blank hostentry
1185
return SocketError.
Success
;
1214
if (errorCode!=SocketError.
Success
) {
net\System\Net\Internal.cs (4)
585
if (errorCode != SocketError.
Success
) {
594
if (errorCode != SocketError.
Success
) {
608
if (errorCode != SocketError.
Success
) {
617
if (errorCode != SocketError.
Success
) {
net\System\Net\IPAddress.cs (2)
200
if (errorCode ==SocketError.
Success
)
456
if (errorCode!=SocketError.
Success
) {
net\System\Net\NetworkInformation\NetworkAddressChange.cs (4)
301
if (errorCode != SocketError.
Success
) {
309
if (errorCode != SocketError.
Success
) {
329
if (errorCode != SocketError.
Success
) {
337
if (errorCode != SocketError.
Success
) {
net\System\Net\Sockets\_AcceptOverlappedAsyncResult.cs (2)
52
if (errorCode==SocketError.
Success
) {
100
if (errorCode==SocketError.
Success
) {
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (3)
339
if (socketError != SocketError.
Success
&& socketError != SocketError.OperationAborted)
487
return SocketError.
Success
;
527
return SocketError.
Success
;
net\System\Net\Sockets\_ConnectOverlappedAsyncResult.cs (2)
36
if (errorCode==SocketError.
Success
) {
57
if (errorCode==SocketError.
Success
) {
net\System\Net\Sockets\_DisconnectOverlappedAsyncResult.cs (1)
31
if (ErrorCode == (int)SocketError.
Success
) {
net\System\Net\Sockets\_DynamicWinsockMethods.cs (1)
131
if (errorCode != SocketError.
Success
)
net\System\Net\Sockets\_MultipleConnectAsync.cs (1)
160
if (args.SocketError == SocketError.
Success
)
net\System\Net\Sockets\Socket.cs (120)
242
if (errorCode == SocketError.
Success
) {
413
if (errorCode!=SocketError.
Success
) {
460
if (errorCode!=SocketError.
Success
) {
524
if (errorCode!=SocketError.
Success
) {
966
if (errorCode != SocketError.
Success
)
1190
if (errorCode!=SocketError.
Success
) {
1299
if(errorCode != SocketError.
Success
){
1325
errorCode = SocketError.
Success
;
1371
if (errorCode != SocketError.
Success
) {
1452
SocketError errorCode = SocketError.
Success
;
1479
if (errorCode!=SocketError.
Success
) {
1510
if(errorCode != SocketError.
Success
){
1538
errorCode = SocketError.
Success
;
1741
if(errorCode != SocketError.
Success
){
1773
errorCode = SocketError.
Success
;
1835
if(errorCode != SocketError.
Success
){
1865
errorCode = SocketError.
Success
;
1906
if (errorCode != SocketError.
Success
) {
1997
SocketError errorCode = SocketError.
Success
;
2022
if (errorCode!=SocketError.
Success
&& errorCode != SocketError.MessageSize) {
2817
if (errorCode!=SocketError.
Success
) {
2893
if (errorCode!=SocketError.
Success
) {
2901
if (errorCode == SocketError.
Success
)
2922
if (errorCode == SocketError.
Success
)
3027
if (errorCode != SocketError.
Success
)
3051
if (errorCode == SocketError.
Success
)
3232
SocketError errorCode=SocketError.
Success
;
3239
if (errorCode == SocketError.
Success
) {
3251
if (errorCode!= SocketError.
Success
) {
3281
SocketError errorCode = SocketError.
Success
;
3292
if (errorCode!= SocketError.
Success
) {
3383
if ((SocketError)castedAsyncResult.ErrorCode!=SocketError.
Success
) {
3429
if(errorCode != SocketError.
Success
&& errorCode !=SocketError.IOPending){
3467
if(errorCode != SocketError.
Success
&& errorCode !=SocketError.IOPending){
3494
if(errorCode != SocketError.
Success
&& errorCode !=SocketError.IOPending){
3532
if (errorCode!=SocketError.
Success
) {
3546
if (errorCode != SocketError.
Success
)
3653
errorCode = SocketError.
Success
;
3664
if (errorCode!=SocketError.
Success
) {
3692
if(errorCode != SocketError.
Success
&& errorCode !=SocketError.IOPending){
3731
if(errorCode != SocketError.
Success
&& errorCode !=SocketError.IOPending){
3766
if (errorCode!=SocketError.
Success
) {
3780
if (errorCode != SocketError.
Success
)
3814
if(errorCode != SocketError.
Success
){
3862
if (errorCode != SocketError.
Success
) {
3921
if ((SocketError)castedAsyncResult.ErrorCode!=SocketError.
Success
) {
4038
if (errorCode!=SocketError.
Success
) {
4057
if (errorCode!=SocketError.
Success
) {
4132
if ((SocketError)castedAsyncResult.ErrorCode!=SocketError.
Success
) {
4183
if(errorCode != SocketError.
Success
&& errorCode !=SocketError.IOPending){
4220
if(errorCode != SocketError.
Success
&& errorCode !=SocketError.IOPending){
4278
if (errorCode!=SocketError.
Success
) {
4280
GlobalLog.Assert(errorCode != SocketError.
Success
, "Socket#{0}::DoBeginReceive()|GetLastWin32Error() returned zero.", ValidationHelper.HashString(this));
4293
if (errorCode != SocketError.
Success
)
4320
if(errorCode != SocketError.
Success
&& errorCode !=SocketError.IOPending){
4355
if(errorCode != SocketError.
Success
&& errorCode !=SocketError.IOPending){
4394
if (errorCode!=SocketError.
Success
) {
4396
GlobalLog.Assert(errorCode != SocketError.
Success
, "Socket#{0}::DoBeginReceive()|GetLastWin32Error() returned zero.", ValidationHelper.HashString(this));
4409
if (errorCode != SocketError.
Success
)
4459
if(errorCode != SocketError.
Success
){
4514
if (errorCode!=SocketError.
Success
) {
4597
if (errorCode!=SocketError.
Success
) {
4627
if (errorCode!=SocketError.
Success
)
4715
if ((SocketError)castedAsyncResult.ErrorCode!=SocketError.
Success
&& (SocketError)castedAsyncResult.ErrorCode != SocketError.MessageSize) {
4858
if (errorCode!=SocketError.
Success
) {
4877
if (errorCode!=SocketError.
Success
) {
4975
if ((SocketError)castedAsyncResult.ErrorCode!=SocketError.
Success
) {
5095
errorCode = acceptedSocketHandle.IsInvalid ? (SocketError) Marshal.GetLastWin32Error() : SocketError.
Success
;
5106
if (errorCode == SocketError.
Success
)
5140
if (errorCode == SocketError.
Success
)
5250
errorCode = acceptedSocket.IsInvalid ? (SocketError) Marshal.GetLastWin32Error() : SocketError.
Success
;
5290
else if (errorCode == SocketError.
Success
)
5417
SocketError errorCode = SocketError.
Success
;
5438
if (errorCode!=SocketError.
Success
) {
5517
if ((SocketError)castedAsyncResult.ErrorCode!=SocketError.
Success
) {
5595
if ((SocketError)castedAsyncResult.ErrorCode!=SocketError.
Success
) {
5645
errorCode = errorCode!=SocketError.SocketError ? SocketError.
Success
: (SocketError)Marshal.GetLastWin32Error();
5652
if (errorCode!=SocketError.
Success
&& errorCode!=SocketError.NotSocket) {
5966
if (errorCode!=SocketError.
Success
) {
6157
if ((SocketError)castedAsyncResult.ErrorCode != SocketError.
Success
)
6204
if (errorCode!=SocketError.
Success
) {
6340
if (errorCode != SocketError.
Success
)
6367
if (errorCode != SocketError.
Success
|| dataAvailable != 0)
6475
SocketError errorCode = SocketError.
Success
;
6496
errorCode == SocketError.
Success
)
6768
return SocketError.
Success
;
6798
if (errorCode==SocketError.
Success
) {
6916
SocketError errorCode=SocketError.
Success
;
6946
if (errorCode == SocketError.
Success
) {
6958
if (errorCode != SocketError.
Success
) {
7024
if (errorCode!=SocketError.
Success
) {
7244
if (errorCode!=SocketError.
Success
) {
7258
if (errorCode!=SocketError.
Success
) {
7306
if ((SocketError)castedAsyncResult.ErrorCode!=SocketError.
Success
) {
7581
return errorCode == SocketError.
Success
;
7722
SocketError socketError = SocketError.
Success
;
7745
if(socketError != SocketError.
Success
&& socketError != SocketError.IOPending) {
7834
SocketError socketError = SocketError.
Success
;
7855
if(socketError != SocketError.
Success
&& socketError != SocketError.IOPending) {
7937
SocketError socketError = SocketError.
Success
;
7954
if(socketError != SocketError.
Success
&& socketError != SocketError.IOPending) {
8022
if(socketError != SocketError.
Success
) {
8027
if(socketError != SocketError.
Success
&& socketError != SocketError.IOPending) {
8114
if(socketError != SocketError.
Success
) {
8119
if(socketError != SocketError.
Success
&& socketError != SocketError.IOPending) {
8191
if(socketError != SocketError.
Success
) {
8196
if(socketError != SocketError.
Success
&& socketError != SocketError.IOPending) {
8264
if(socketError != SocketError.
Success
) {
8269
if(socketError != SocketError.
Success
&& socketError != SocketError.IOPending) {
8328
socketError = SocketError.
Success
;
8332
if(socketError != SocketError.
Success
&& socketError != SocketError.IOPending) {
8341
e.FinishOperationSuccess(SocketError.
Success
, 0, SocketFlags.None);
8420
if(socketError != SocketError.
Success
) {
8425
if(socketError != SocketError.
Success
&& socketError != SocketError.IOPending) {
8926
m_SocketError = SocketError.
Success
;
9779
SetResults(SocketError.
Success
, bytesTransferred, flags);
9845
if(socketError == SocketError.
Success
) {
9881
if(socketError == SocketError.
Success
) {
10018
if(socketError != SocketError.
Success
) {
10041
if(socketError == SocketError.
Success
) {
net\System\Net\WebSockets\WebSocketConnectionStream.cs (5)
662
if (m_WriteEventArgs.SocketError != SocketError.
Success
)
714
if (m_WriteEventArgs.SocketError != SocketError.
Success
)
784
if (m_ReadEventArgs.SocketError != SocketError.
Success
)
906
if (eventArgs.SocketError != SocketError.
Success
)
937
if (eventArgs.SocketError != SocketError.
Success
)
System.ServiceModel (3)
System\ServiceModel\Channels\SocketConnection.cs (3)
968
if (this.asyncWriteEventArgs.SocketError == SocketError.
Success
)
1332
if (this.asyncReadEventArgs.SocketError == SocketError.
Success
)
2367
if (this.socketAsyncEventArgs.SocketError == SocketError.
Success
)