Base:
12 references to IsInvalid
System.Net.Sockets (12)
System\Net\Sockets\SafeSocketHandle.cs (1)
177if (IsInvalid)
System\Net\Sockets\Socket.cs (10)
89Debug.Assert(_handle.IsInvalid); 95Debug.Assert(!_handle.IsInvalid); 241if (handle.IsInvalid) 1079Debug.Assert(acceptedSocketHandle.IsInvalid); 1090Debug.Assert(!acceptedSocketHandle.IsInvalid); 3547if (Disposed || _handle.IsInvalid) 3604if (silent && (Disposed || _handle.IsInvalid)) 3617if (silent && _handle.IsInvalid) 3783Debug.Assert(fd != null && !fd.IsInvalid); 3931if (disconnectOnFailure && _isConnected && (_handle.IsInvalid || (errorCode != SocketError.WouldBlock &&
System\Net\Sockets\SocketPal.Unix.cs (1)
97if (socket.IsInvalid)