diff --git a/source/Cosmos.System2_Plugs/Interop/WinsockImpl.cs b/source/Cosmos.System2_Plugs/Interop/WinsockImpl.cs new file mode 100644 index 0000000000..a20c5fedee --- /dev/null +++ b/source/Cosmos.System2_Plugs/Interop/WinsockImpl.cs @@ -0,0 +1,16 @@ +using IL2CPU.API.Attribs; +using System; +using System.Net.Sockets; + +namespace Cosmos.Core_Plugs.Interop +{ + [Plug("Interop+Winsock, System.Net.Sockets", IsOptional = true)] + class WinsockImpl + { + [PlugMethod(Signature = "System_Net_Sockets_SocketError__Interop_Winsock_shutdown_System_Net_Sockets_SafeSocketHandle__System_Int32_")] + public static SocketError shutdown(SafeSocketHandle socketHandle, int how) + { + throw new NotImplementedException(); + } + } +} diff --git a/source/Cosmos.System2_Plugs/System/IO/StreamImpl.cs b/source/Cosmos.System2_Plugs/System/IO/StreamImpl.cs deleted file mode 100644 index 80d1d8b9de..0000000000 --- a/source/Cosmos.System2_Plugs/System/IO/StreamImpl.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net.Sockets; -using System.Text; -using System.Threading.Tasks; -using IL2CPU.API.Attribs; - -namespace Cosmos.System_Plugs.System.IO -{ - [Plug(Target = typeof(Stream))] - public static class StreamImpl - { - public static int Read(Stream aThis, Span buffer) - { - throw new NotImplementedException(); - } - - public static void Dispose(Stream aThis) - { - throw new NotImplementedException(); - } - - public static void Dispose(Stream aThis, bool disposing) - { - throw new NotImplementedException(); - } - } -}