18 references to UnsafeNativeMethods
dotnet-svcutil-lib (18)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SocketConnection.cs (18)
208
if ((int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.ERROR_INVALID_HANDLE)
219
if ((int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAECONNABORTED &&
226
if ((int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAENETRESET ||
227
(int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAECONNABORTED ||
228
(int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAECONNRESET)
240
else if ((int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAETIMEDOUT)
437
if ((int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.ERROR_INVALID_HANDLE)
442
if ((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)
459
else if ((int)socketException.SocketErrorCode ==
UnsafeNativeMethods
.WSAENOBUFS)
463
else 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)