39 references to GetSocketErrorForErrorCode
System.Net.Sockets (39)
System\Net\Sockets\SafeSocketHandle.Unix.cs (7)
232return SocketPal.GetSocketErrorForErrorCode(CloseHandle(handle)); 237return SocketPal.GetSocketErrorForErrorCode(CloseHandle(handle)); 251return SocketPal.GetSocketErrorForErrorCode(errorCode); 259return SocketPal.GetSocketErrorForErrorCode(CloseHandle(handle)); 274_closeSocketLinger = SocketPal.GetSocketErrorForErrorCode(errorCode); 290return SocketPal.GetSocketErrorForErrorCode(errorCode); 320_closeSocketResult = SocketPal.GetSocketErrorForErrorCode(errorCode);
System\Net\Sockets\SocketAsyncContext.Unix.cs (1)
1363throw new SocketException((int)SocketPal.GetSocketErrorForErrorCode(Interop.Sys.GetLastError()));
System\Net\Sockets\SocketPal.Unix.cs (31)
83errorCode = GetSocketErrorForErrorCode(error); 91errorCode = GetSocketErrorForErrorCode(error); 661errorCode = GetSocketErrorForErrorCode(errno); 705errorCode = GetSocketErrorForErrorCode(err); 763errorCode = GetSocketErrorForErrorCode(socketError); 816errorCode = GetSocketErrorForErrorCode(errno); 885errorCode = GetSocketErrorForErrorCode(errno); 930errorCode = GetSocketErrorForErrorCode(errno); 1003errorCode = GetSocketErrorForErrorCode(errno); 1058errorCode = GetSocketErrorForErrorCode(errno); 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); 1428return GetSocketErrorForErrorCode(err); 1528return GetSocketErrorForErrorCode(err); 1620optionValue = (int)GetSocketErrorForErrorCode(socketError); 1621return getErrorError == Interop.Error.SUCCESS ? SocketError.Success : GetSocketErrorForErrorCode(getErrorError); 1640return err == Interop.Error.SUCCESS ? SocketError.Success : GetSocketErrorForErrorCode(err); 1681return GetSocketErrorForErrorCode(err); 1699return GetSocketErrorForErrorCode(err); 1716return GetSocketErrorForErrorCode(err); 1741return GetSocketErrorForErrorCode(err); 1755return GetSocketErrorForErrorCode(err); 1779return GetSocketErrorForErrorCode(err); 1854return GetSocketErrorForErrorCode(err); 1959return GetSocketErrorForErrorCode(err); 2067return GetSocketErrorForErrorCode(err); 2180throw new SocketException((int)GetSocketErrorForErrorCode(err));