diff options
Diffstat (limited to 'SocketHttpListener/SocketStream.cs')
| -rw-r--r-- | SocketHttpListener/SocketStream.cs | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/SocketHttpListener/SocketStream.cs b/SocketHttpListener/SocketStream.cs index 6631bb267..f51fde97e 100644 --- a/SocketHttpListener/SocketStream.cs +++ b/SocketHttpListener/SocketStream.cs @@ -17,26 +17,18 @@ namespace SocketHttpListener { } - public override bool CanRead - { - get { return true; } - } - public override bool CanSeek - { - get { return false; } - } - public override bool CanWrite - { - get { return true; } - } - public override long Length - { - get { throw new NotImplementedException(); } - } + public override bool CanRead => true; + + public override bool CanSeek => false; + + public override bool CanWrite => true; + + public override long Length => throw new NotImplementedException(); + public override long Position { - get { throw new NotImplementedException(); } - set { throw new NotImplementedException(); } + get => throw new NotImplementedException(); + set => throw new NotImplementedException(); } public override void Write(byte[] buffer, int offset, int count) |
