projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow .NET 4.0 + users to use the ConnectSocket property
[mono.git]
/
mcs
/
class
/
System
/
System.Net.Sockets
/
SocketAsyncEventArgs.cs
diff --git
a/mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs
b/mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs
index d8e1c5125e44721237bd87b68263174d8fe21a2d..609583a73f2336df00026d379a6d90a0ceb3209d 100644
(file)
--- a/
mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs
+++ b/
mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs
@@
-82,7
+82,7
@@
namespace System.Net.Sockets
public SocketFlags SocketFlags { get; set; }
public object UserToken { get; set; }
internal Socket curSocket;
-#if
NET_2_1
+#if
(NET_2_1 || NET_4_0)
public Socket ConnectSocket {
get {
switch (SocketError) {