diff options
Diffstat (limited to 'profiles/net_4_x/System.cs')
-rw-r--r-- | profiles/net_4_x/System.cs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/profiles/net_4_x/System.cs b/profiles/net_4_x/System.cs index 1617e73..dcedb60 100644 --- a/profiles/net_4_x/System.cs +++ b/profiles/net_4_x/System.cs @@ -11129,9 +11129,7 @@ namespace System.Net.Sockets protected System.Net.Sockets.Socket Socket { get { throw null; } } protected bool Writeable { get { throw null; } set { } } public override int WriteTimeout { get { throw null; } set { } } - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int size, System.AsyncCallback callback, object state) { throw null; } - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int size, System.AsyncCallback callback, object state) { throw null; } public void Close(int timeout) { } protected override void Dispose(bool disposing) { } @@ -11140,10 +11138,18 @@ namespace System.Net.Sockets ~NetworkStream() { } public override void Flush() { } public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { throw null; } - public override int Read([System.Runtime.InteropServices.In][System.Runtime.InteropServices.Out]byte[] buffer, int offset, int size) { throw null; } + public override int Read(byte[] buffer, int offset, int size) { throw null; } + public override int Read(System.Span<byte> destination) { throw null; } + public override System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int size, System.Threading.CancellationToken cancellationToken) { throw null; } + public override System.Threading.Tasks.ValueTask<int> ReadAsync(System.Memory<byte> buffer, System.Threading.CancellationToken cancellationToken) { throw null; } + public override int ReadByte() { throw null; } public override long Seek(long offset, System.IO.SeekOrigin origin) { throw null; } public override void SetLength(long value) { } public override void Write(byte[] buffer, int offset, int size) { } + public override void Write(System.ReadOnlySpan<byte> source) { } + public override System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int size, System.Threading.CancellationToken cancellationToken) { throw null; } + public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory<byte> buffer, System.Threading.CancellationToken cancellationToken) { throw null; } + public override void WriteByte(byte value) { } } public enum ProtocolFamily { |