20 references to Close
Interop.FunctionalTests (1)
Http2\Http2RequestTests.cs (1)
86socket.Close();
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
RequestTests.cs (2)
549socket.Close(); 592socket.Close();
ResponseTests.cs (1)
273socket.Close();
System.Net.HttpListener (5)
System\Net\Managed\HttpConnection.cs (2)
493_socket.Close(); 539s?.Close();
System\Net\Managed\HttpEndPointListener.cs (3)
117accepted.Close(); 128accepted.Close(); 308_socket.Close();
System.Net.Requests (5)
System\Net\FtpControlStream.cs (5)
94socket.Close(); 114connection._dataSocket.Close(); 126listenSocket.Close(); 747_dataSocket.Close(); 755listenSocket.Close();
System.Net.Sockets (6)
System\Net\Sockets\TCPClient.cs (2)
73_clientSocket?.Close(); 291chkClientSocket.Close();
System\Net\Sockets\UDPClient.cs (4)
736ipv6Socket?.Close(); 742ipv4Socket?.Close(); 785ipv6Socket?.Close(); 786ipv4Socket?.Close();