Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue