Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -110,21 +110,13 @@ namespace Server {
base.Dispose( disposing );
}
public override bool CanRead {
get { return false; }
}
public override bool CanRead => false;
public override bool CanSeek {
get { return false; }
}
public override bool CanSeek => false;
public override bool CanWrite {
get { return true; }
}
public override bool CanWrite => true;
public override long Length {
get { return this.Position; }
}
public override long Length => this.Position;
public override int Read( byte[] buffer, int offset, int count ) {
throw new InvalidOperationException();
@ -138,4 +130,4 @@ namespace Server {
fileStream.SetLength( value );
}
}
}
}