Implemented interface member:
50 references to Dispose
Aspire.Hosting (1)
Dcp\DcpHost.cs (1)
276
socket.
Dispose
();
ClientSample (3)
Tcp\TcpConnection.cs (3)
54
_socket?.
Dispose
();
88
_socket.
Dispose
();
96
_socket.
Dispose
();
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (4)
194
_socket.
Dispose
();
318
_socket.
Dispose
();
933
socket.
Dispose
();
950
socket.
Dispose
();
IIS.Common.TestLib (1)
TestConnections.cs (1)
60
_socket.
Dispose
();
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TestConnection.cs (1)
53
_socket.
Dispose
();
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Listener\RequestHeaderTests.cs (1)
231
socket.
Dispose
();
Listener\ResponseHeaderTests.cs (1)
374
s.
Dispose
();
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Deployers\NginxDeployer.cs (1)
222
_portSelector?.
Dispose
();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\TestConnection.cs (1)
53
_socket.
Dispose
();
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (3)
Internal\SocketConnection.cs (1)
404
_socket.
Dispose
();
SocketConnectionListener.cs (2)
97
_listenSocket?.
Dispose
();
103
_listenSocket?.
Dispose
();
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
StaticFileMiddlewareTests.cs (1)
286
socket.
Dispose
();
Sockets.BindTests (3)
src\Servers\Kestrel\shared\test\TestConnection.cs (1)
53
_socket.
Dispose
();
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (2)
1225
e.ConnectSocket?.
Dispose
();
1235
socketArgs.ConnectSocket?.
Dispose
();
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TestConnection.cs (1)
53
_socket.
Dispose
();
System.IO.Pipes (9)
Microsoft\Win32\SafeHandles\SafePipeHandle.Unix.cs (3)
45
socket.
Dispose
();
91
socket.
Dispose
();
116
socket.
Dispose
();
System\IO\Pipes\NamedPipeClientStream.Unix.cs (2)
49
socket.
Dispose
();
72
socket.
Dispose
();
System\IO\Pipes\NamedPipeServerStream.Unix.cs (4)
128
acceptedSocket.
Dispose
();
304
ListeningSocket.
Dispose
();
335
socket.
Dispose
();
340
socket.
Dispose
();
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
696
using (cancellationToken.UnsafeRegister(static s => ((Socket)s!).
Dispose
(), socket))
706
socket.
Dispose
();
System.Net.NetworkInformation (1)
System\Net\NetworkInformation\NetworkAddressChange.Unix.cs (1)
179
Socket.
Dispose
();
System.Net.Ping (1)
src\libraries\Common\src\System\Net\RawSocketPermissions.cs (1)
25
new Socket(addressFamily, SocketType.Raw, addressFamily == AddressFamily.InterNetwork ? ProtocolType.Icmp : ProtocolType.IcmpV6).
Dispose
();
System.Net.Requests (2)
System\Net\HttpWebRequest.cs (2)
1830
using (cancellationToken.UnsafeRegister(s => ((Socket)s!).
Dispose
(), socket))
1846
socket.
Dispose
();
System.Net.Sockets (11)
System\Net\Sockets\Socket.cs (3)
986
Dispose
();
997
Dispose
();
2774
s.
Dispose
();
System\Net\Sockets\SocketAsyncEventArgs.cs (5)
622
_currentSocket?.
Dispose
();
641
currentSocket.
Dispose
();
815
tempSocketIPv4.
Dispose
();
819
tempSocketIPv6.
Dispose
();
829
_currentSocket.
Dispose
();
System\Net\Sockets\SocketAsyncEventArgs.Unix.cs (1)
365
acceptedSocket.
Dispose
();
System\Net\Sockets\TCPListener.cs (1)
165
_serverSocket?.
Dispose
();
System\Net\Sockets\UDPClient.cs (1)
240
chkClientSocket.
Dispose
();
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
785
socket.
Dispose
();
VBCSCompiler.UnitTests (1)
NamedPipeTestUtil.cs (1)
91
socket.
Dispose
();