From e03483db1d3b6dc9f2bb8835bc7d2d1e37ef6550 Mon Sep 17 00:00:00 2001 From: monojenkins Date: Thu, 26 Sep 2019 07:05:31 +0000 Subject: Apply changes from https://github.com/mono/mono/pull/17035 to API snapshot --- profiles/monodroid/System.cs | 2 +- profiles/monotouch/System.cs | 2 +- profiles/net_4_x/System.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/profiles/monodroid/System.cs b/profiles/monodroid/System.cs index 704096f..33fff20 100644 --- a/profiles/monodroid/System.cs +++ b/profiles/monodroid/System.cs @@ -8141,7 +8141,7 @@ namespace System.Net.Sockets [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public System.IAsyncResult BeginConnect(System.Net.IPAddress address, int port, System.AsyncCallback requestCallback, object state) { throw null; } public System.IAsyncResult BeginConnect(System.Net.IPAddress[] addresses, int port, System.AsyncCallback requestCallback, object state) { throw null; } - public System.IAsyncResult BeginConnect(string host, int port, System.AsyncCallback requestCallback, object state) { throw null; } + public System.IAsyncResult BeginConnect(string host, int port, System.AsyncCallback callback, object state) { throw null; } public System.IAsyncResult BeginDisconnect(bool reuseSocket, System.AsyncCallback callback, object state) { throw null; } [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public System.IAsyncResult BeginReceive(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, System.AsyncCallback callback, object state) { throw null; } diff --git a/profiles/monotouch/System.cs b/profiles/monotouch/System.cs index 298c1f4..b6147e8 100644 --- a/profiles/monotouch/System.cs +++ b/profiles/monotouch/System.cs @@ -8144,7 +8144,7 @@ namespace System.Net.Sockets [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public System.IAsyncResult BeginConnect(System.Net.IPAddress address, int port, System.AsyncCallback requestCallback, object state) { throw null; } public System.IAsyncResult BeginConnect(System.Net.IPAddress[] addresses, int port, System.AsyncCallback requestCallback, object state) { throw null; } - public System.IAsyncResult BeginConnect(string host, int port, System.AsyncCallback requestCallback, object state) { throw null; } + public System.IAsyncResult BeginConnect(string host, int port, System.AsyncCallback callback, object state) { throw null; } public System.IAsyncResult BeginDisconnect(bool reuseSocket, System.AsyncCallback callback, object state) { throw null; } [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public System.IAsyncResult BeginReceive(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, System.AsyncCallback callback, object state) { throw null; } diff --git a/profiles/net_4_x/System.cs b/profiles/net_4_x/System.cs index dcedb60..9b785d7 100644 --- a/profiles/net_4_x/System.cs +++ b/profiles/net_4_x/System.cs @@ -11277,7 +11277,7 @@ namespace System.Net.Sockets [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public System.IAsyncResult BeginConnect(System.Net.IPAddress address, int port, System.AsyncCallback requestCallback, object state) { throw null; } public System.IAsyncResult BeginConnect(System.Net.IPAddress[] addresses, int port, System.AsyncCallback requestCallback, object state) { throw null; } - public System.IAsyncResult BeginConnect(string host, int port, System.AsyncCallback requestCallback, object state) { throw null; } + public System.IAsyncResult BeginConnect(string host, int port, System.AsyncCallback callback, object state) { throw null; } public System.IAsyncResult BeginDisconnect(bool reuseSocket, System.AsyncCallback callback, object state) { throw null; } [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public System.IAsyncResult BeginReceive(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, System.AsyncCallback callback, object state) { throw null; } -- cgit v1.2.3