18 references to UnsafeNativeMethods
System.ServiceModel.UnixDomainSocket (18)
System\ServiceModel\Channels\SocketConnection.cs (18)
649if (socketException.ErrorCode == UnsafeNativeMethods.ERROR_INVALID_HANDLE) 660if (socketException.ErrorCode == UnsafeNativeMethods.WSAECONNABORTED && 667if (socketException.ErrorCode == UnsafeNativeMethods.WSAENETRESET || 668socketException.ErrorCode == UnsafeNativeMethods.WSAECONNABORTED || 669socketException.ErrorCode == UnsafeNativeMethods.WSAECONNRESET) 681else if (socketException.ErrorCode == UnsafeNativeMethods.WSAETIMEDOUT) 792if ((int)socketException.SocketErrorCode == UnsafeNativeMethods.ERROR_INVALID_HANDLE) 797if ((int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAEADDRNOTAVAIL || 798(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAECONNREFUSED || 799(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAENETDOWN || 800(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAENETUNREACH || 801(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAEHOSTDOWN || 802(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAEHOSTUNREACH || 803(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAETIMEDOUT) 814else if ((int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAENOBUFS) 818else if ((int)socketException.SocketErrorCode == UnsafeNativeMethods.ERROR_NOT_ENOUGH_MEMORY || 819(int)socketException.SocketErrorCode == UnsafeNativeMethods.ERROR_NO_SYSTEM_RESOURCES || 820(int)socketException.SocketErrorCode == UnsafeNativeMethods.ERROR_OUTOFMEMORY)