18 references to UnsafeNativeMethods
dotnet-svcutil-lib (18)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SocketConnection.cs (18)
208if ((int)socketException.SocketErrorCode == UnsafeNativeMethods.ERROR_INVALID_HANDLE) 219if ((int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAECONNABORTED && 226if ((int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAENETRESET || 227(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAECONNABORTED || 228(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAECONNRESET) 240else if ((int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAETIMEDOUT) 437if ((int)socketException.SocketErrorCode == UnsafeNativeMethods.ERROR_INVALID_HANDLE) 442if ((int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAEADDRNOTAVAIL || 443(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAECONNREFUSED || 444(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAENETDOWN || 445(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAENETUNREACH || 446(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAEHOSTDOWN || 447(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAEHOSTUNREACH || 448(int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAETIMEDOUT) 459else if ((int)socketException.SocketErrorCode == UnsafeNativeMethods.WSAENOBUFS) 463else if ((int)socketException.SocketErrorCode == UnsafeNativeMethods.ERROR_NOT_ENOUGH_MEMORY || 464(int)socketException.SocketErrorCode == UnsafeNativeMethods.ERROR_NO_SYSTEM_RESOURCES || 465(int)socketException.SocketErrorCode == UnsafeNativeMethods.ERROR_OUTOFMEMORY)