diff options
author | Jay Krell <jaykrell@microsoft.com> | 2019-12-11 12:40:00 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2019-12-11 12:40:00 +0300 |
commit | 97dd6cf04c2dd62b7cdce2a96c8824b5f3e7280a (patch) | |
tree | d894e0b793b4cd4b23fd1f5c8d9d64eb39abbf96 /mcs/class/referencesource | |
parent | 93c18d6fd18ec771d99f9f2cb75a6453123a6f89 (diff) |
Sockets: Foo_internal to Foo_icall and ves_icall_Foo_internal to ves_icall_Foo. (#18017)
The first is to avoid requiring the signature matching in icall resolution.
The second is just to shorten names.
Diffstat (limited to 'mcs/class/referencesource')
-rw-r--r-- | mcs/class/referencesource/System/net/System/Net/SocketException.cs | 4 | ||||
-rw-r--r-- | mcs/class/referencesource/System/net/System/Net/Sockets/Socket.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mcs/class/referencesource/System/net/System/Net/SocketException.cs b/mcs/class/referencesource/System/net/System/Net/SocketException.cs index abf4ad53e43..677147403c4 100644 --- a/mcs/class/referencesource/System/net/System/Net/SocketException.cs +++ b/mcs/class/referencesource/System/net/System/Net/SocketException.cs @@ -23,9 +23,9 @@ namespace System.Net.Sockets { #if MONO [System.Runtime.CompilerServices.MethodImplAttribute (System.Runtime.CompilerServices.MethodImplOptions.InternalCall)] - static extern int WSAGetLastError_internal (); + static extern int WSAGetLastError_icall (); - public SocketException () : base (WSAGetLastError_internal ()) + public SocketException () : base (WSAGetLastError_icall ()) { } diff --git a/mcs/class/referencesource/System/net/System/Net/Sockets/Socket.cs b/mcs/class/referencesource/System/net/System/Net/Sockets/Socket.cs index be9e666ae29..e7e7b13def5 100644 --- a/mcs/class/referencesource/System/net/System/Net/Sockets/Socket.cs +++ b/mcs/class/referencesource/System/net/System/Net/Sockets/Socket.cs @@ -155,7 +155,7 @@ namespace System.Net.Sockets { #if MONO int error; - m_Handle = new SafeSocketHandle (Socket_internal (addressFamily, socketType, protocolType, out error), true); + m_Handle = new SafeSocketHandle (Socket_icall (addressFamily, socketType, protocolType, out error), true); #else m_Handle = SafeCloseSocket.CreateWSASocket( addressFamily, |