14 writes to ErrorCode
System (14)
net\System\Net\_ListenerAsyncResult.cs (1)
42
asyncResult.
ErrorCode
= (int)errorCode;
net\System\Net\_ListenerRequestStream.cs (1)
400
asyncResult.
ErrorCode
= (int)errorCode;
net\System\Net\_ListenerResponseStream.cs (1)
590
asyncResult.
ErrorCode
= (int)errorCode;
net\System\Net\HttpListenerRequest.cs (1)
128
asyncResult.
ErrorCode
= (int)errorCode;
net\System\Net\Sockets\_AcceptOverlappedAsyncResult.cs (1)
97
ErrorCode
= (int)errorCode;
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (4)
382
asyncResult.
ErrorCode
= (int)socketError;
426
asyncResult.
ErrorCode
= (int)errorCode;
494
ErrorCode
= (int)errorCode;
537
ErrorCode
= (int)errorCode;
net\System\Net\Sockets\_ConnectOverlappedAsyncResult.cs (1)
54
ErrorCode
= (int) errorCode;
net\System\Net\Sockets\Socket.cs (4)
2907
asyncResult.
ErrorCode
= (int) errorCode;
3070
asyncResult.
ErrorCode
= (int) errorCode;
5112
asyncResult.
ErrorCode
= (int) errorCode;
5296
asyncResult.
ErrorCode
= (int) errorCode;
27 references to ErrorCode
System (27)
net\System\Net\_ListenerRequestStream.cs (1)
314
UpdateAfterRead((uint)castedAsyncResult.
ErrorCode
, dataRead);
net\System\Net\Sockets\_AcceptOverlappedAsyncResult.cs (1)
49
SocketError errorCode = (SocketError)
ErrorCode
;
net\System\Net\Sockets\_ConnectOverlappedAsyncResult.cs (1)
33
SocketError errorCode = (SocketError)
ErrorCode
;
net\System\Net\Sockets\_DisconnectOverlappedAsyncResult.cs (1)
31
if (
ErrorCode
== (int)SocketError.Success) {
net\System\Net\Sockets\_OverlappedAsyncResult.cs (1)
183
if (
ErrorCode
== 0) {
net\System\Net\Sockets\_ReceiveMessageOverlappedAsyncResult.cs (1)
189
if (
ErrorCode
== 0) {
net\System\Net\Sockets\Socket.cs (21)
3383
if ((SocketError)castedAsyncResult.
ErrorCode
!=SocketError.Success) {
3387
SocketException socketException = new SocketException(castedAsyncResult.
ErrorCode
);
3861
errorCode = (SocketError)castedAsyncResult.
ErrorCode
;
3921
if ((SocketError)castedAsyncResult.
ErrorCode
!=SocketError.Success) {
3925
SocketException socketException = new SocketException(castedAsyncResult.
ErrorCode
);
4132
if ((SocketError)castedAsyncResult.
ErrorCode
!=SocketError.Success) {
4136
SocketException socketException = new SocketException(castedAsyncResult.
ErrorCode
);
4513
errorCode = (SocketError)castedAsyncResult.
ErrorCode
;
4715
if ((SocketError)castedAsyncResult.
ErrorCode
!=SocketError.Success && (SocketError)castedAsyncResult.
ErrorCode
!= SocketError.MessageSize) {
4719
SocketException socketException = new SocketException(castedAsyncResult.
ErrorCode
);
4975
if ((SocketError)castedAsyncResult.
ErrorCode
!=SocketError.Success) {
4979
SocketException socketException = new SocketException(castedAsyncResult.
ErrorCode
);
5517
if ((SocketError)castedAsyncResult.
ErrorCode
!=SocketError.Success) {
5521
SocketException socketException = new SocketException(castedAsyncResult.
ErrorCode
);
5595
if ((SocketError)castedAsyncResult.
ErrorCode
!=SocketError.Success) {
5599
SocketException socketException = new SocketException(castedAsyncResult.
ErrorCode
);
6157
if ((SocketError)castedAsyncResult.
ErrorCode
!= SocketError.Success)
6160
SocketException socketException = new SocketException(castedAsyncResult.
ErrorCode
, remoteEndPoint);
7306
if ((SocketError)castedAsyncResult.
ErrorCode
!=SocketError.Success) {
7310
SocketException socketException = new SocketException(castedAsyncResult.
ErrorCode
);