Base:
property
IsInvalid
Microsoft.Win32.SafeHandles.SafeHandleMinusOneIsInvalid.IsInvalid
12 references to IsInvalid
System (12)
net\System\Net\_SafeNetHandles.cs (2)
745if (socketHandle != null && !socketHandle.IsInvalid) 2761if (result.IsInvalid) {
net\System\Net\Sockets\Socket.cs (10)
150if (m_Handle.IsInvalid) { 192if (m_Handle.IsInvalid) { 276if (fd == null || fd.IsInvalid) { 1246if (acceptedSocketHandle.IsInvalid) { 5095errorCode = acceptedSocketHandle.IsInvalid ? (SocketError) Marshal.GetLastWin32Error() : SocketError.Success; 5250errorCode = acceptedSocket.IsInvalid ? (SocketError) Marshal.GetLastWin32Error() : SocketError.Success; 6430if (CleanedUp || m_Handle.IsInvalid) { 6471if (silent && (CleanedUp || m_Handle.IsInvalid)) { 6488if (silent && m_Handle.IsInvalid) { 7438if (m_IsConnected && (m_Handle.IsInvalid || (errorCode != SocketError.WouldBlock &&