Merge pull request #3591 from directhex/mono_libdir_fallback
[mono.git] / mcs / class / System / System.Net / HttpListenerContext.cs
index a1cdf3f8b2ad34bd3d11e33c1522deb21641991b..5a3a2f0f445be565d7b01433dce630f5c6d7cccb 100644 (file)
@@ -32,10 +32,8 @@ using System.Collections.Specialized;
 using System.IO;
 using System.Security.Principal;
 using System.Text;
-#if NET_4_5
 using System.Threading.Tasks;
 using System.Net.WebSockets;
-#endif
 
 namespace System.Net {
        public sealed class HttpListenerContext {
@@ -139,22 +137,29 @@ namespace System.Net {
                        } 
                }
 
-#if NET_4_5
+               [MonoTODO]
                public Task<HttpListenerWebSocketContext> AcceptWebSocketAsync (string subProtocol)
                {
                        throw new NotImplementedException ();
                }
 
+               [MonoTODO]
+               public Task<HttpListenerWebSocketContext> AcceptWebSocketAsync (string subProtocol, TimeSpan keepAliveInterval)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
                public Task<HttpListenerWebSocketContext> AcceptWebSocketAsync (string subProtocol, int receiveBufferSize, TimeSpan keepAliveInterval)
                {
                        throw new NotImplementedException ();
                }
 
+               [MonoTODO]
                public Task<HttpListenerWebSocketContext> AcceptWebSocketAsync (string subProtocol, int receiveBufferSize, TimeSpan keepAliveInterval, ArraySegment<byte> internalBuffer)
                {
                        throw new NotImplementedException ();
                }
-#endif
        }
 }
 #endif