diff options
Diffstat (limited to 'mcs/class/System/System.Net.Sockets/Socket.cs')
-rw-r--r-- | mcs/class/System/System.Net.Sockets/Socket.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mcs/class/System/System.Net.Sockets/Socket.cs b/mcs/class/System/System.Net.Sockets/Socket.cs index 7e64cb4428b..ec5974f2da5 100644 --- a/mcs/class/System/System.Net.Sockets/Socket.cs +++ b/mcs/class/System/System.Net.Sockets/Socket.cs @@ -82,6 +82,12 @@ namespace System.Net.Sockets private sealed class SocketAsyncResult: IAsyncResult { /* Same structure in the runtime */ + /* + Keep this in sync with MonoSocketAsyncResult in + metadata/socket-io.h and ProcessAsyncReader + in System.Diagnostics/Process.cs. + */ + public Socket Sock; public IntPtr handle; object state; |