Consolidate / cleanup disposal checks in System.Net.Sockets (dotnet/corefx#40757)
authorStephen Toub <stoub@microsoft.com>
Tue, 3 Sep 2019 01:59:05 +0000 (21:59 -0400)
committerGitHub <noreply@github.com>
Tue, 3 Sep 2019 01:59:05 +0000 (21:59 -0400)
commitdd21a1a18569f2ae08ad6d68829b71cc3772bbee
tree44644ee4518e6edca8d3c2cd3b13e9eae3ae77d1
parent668fe46ac830cca6eda1ae600046c7ef998915e6
Consolidate / cleanup disposal checks in System.Net.Sockets (dotnet/corefx#40757)

Commit migrated from https://github.com/dotnet/corefx/commit/b2412774416fc177cf5daa025bb4644a0a91c2df
src/libraries/System.Net.Sockets/src/System/Net/Sockets/BaseOverlappedAsyncResult.Windows.cs
src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs
src/libraries/System.Net.Sockets/src/System/Net/Sockets/SafeSocketHandle.Windows.cs
src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Unix.cs
src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Windows.cs
src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.cs
src/libraries/System.Net.Sockets/src/System/Net/Sockets/SocketAsyncEventArgs.Unix.cs
src/libraries/System.Net.Sockets/src/System/Net/Sockets/SocketAsyncEventArgs.Windows.cs
src/libraries/System.Net.Sockets/src/System/Net/Sockets/SocketAsyncEventArgs.cs
src/libraries/System.Net.Sockets/src/System/Net/Sockets/TCPClient.cs
src/libraries/System.Net.Sockets/src/System/Net/Sockets/UDPClient.cs