Huge Resharper clean up. Fixed up test project.json

This commit is contained in:
Adam Hathcock
2016-09-26 10:55:52 +01:00
parent ddbbc3b847
commit efa6f7a82e
209 changed files with 6919 additions and 6162 deletions

View File

@@ -1,4 +1,5 @@
using System.IO;
using System;
using System.IO;
namespace SharpCompress.IO
{
@@ -29,38 +30,22 @@ namespace SharpCompress.IO
private long BytesLeftToRead { get; set; }
public Stream Stream { get; private set; }
public Stream Stream { get; }
public override bool CanRead
{
get { return true; }
}
public override bool CanRead { get { return true; } }
public override bool CanSeek
{
get { return false; }
}
public override bool CanSeek { get { return false; } }
public override bool CanWrite
{
get { return false; }
}
public override bool CanWrite { get { return false; } }
public override void Flush()
{
throw new System.NotSupportedException();
throw new NotSupportedException();
}
public override long Length
{
get { throw new System.NotSupportedException(); }
}
public override long Length { get { throw new NotSupportedException(); } }
public override long Position
{
get { throw new System.NotSupportedException(); }
set { throw new System.NotSupportedException(); }
}
public override long Position { get { throw new NotSupportedException(); } set { throw new NotSupportedException(); } }
public override int Read(byte[] buffer, int offset, int count)
{
@@ -78,17 +63,17 @@ namespace SharpCompress.IO
public override long Seek(long offset, SeekOrigin origin)
{
throw new System.NotSupportedException();
throw new NotSupportedException();
}
public override void SetLength(long value)
{
throw new System.NotSupportedException();
throw new NotSupportedException();
}
public override void Write(byte[] buffer, int offset, int count)
{
throw new System.NotSupportedException();
throw new NotSupportedException();
}
}
}