Imported Upstream version 4.6.0.150

Former-commit-id: 73e3bb1e96dd09dc931c1dfe559d2c7f7b8b02c7
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-08-23 13:20:38 +00:00
parent 02ac915603
commit b95516a3dd
239 changed files with 4096 additions and 1544 deletions

View File

@ -267,7 +267,7 @@ namespace System.Net.Sockets
public void Close ()
{
((IDisposable) this).Dispose ();
Dispose ();
}
public void Connect (IPEndPoint remoteEP)
@ -382,7 +382,7 @@ namespace System.Net.Sockets
return client.BeginConnect (host, port, requestCallback, state);
}
void IDisposable.Dispose ()
public void Dispose ()
{
Dispose (true);
GC.SuppressFinalize (this);