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

@ -125,12 +125,10 @@ namespace System.Net.Sockets
socket.Bind (localEP);
}
#region Close
public void Close ()
{
((IDisposable) this).Dispose ();
Dispose ();
}
#endregion
#region Connect
void DoConnect (IPEndPoint endPoint)
@ -570,7 +568,7 @@ namespace System.Net.Sockets
#endregion
#region Disposing
void IDisposable.Dispose ()
public void Dispose ()
{
Dispose (true);
GC.SuppressFinalize (this);