Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -46,43 +46,23 @@ namespace Server {
private static bool unbuffered = true;
public static int BufferSize {
get {
return bufferSize;
}
set {
bufferSize = value;
}
get => bufferSize;
set => bufferSize = value;
}
public static int Concurrency {
get {
return concurrency;
}
set {
concurrency = value;
}
get => concurrency;
set => concurrency = value;
}
public static bool Unbuffered {
get {
return unbuffered;
}
set {
unbuffered = value;
}
get => unbuffered;
set => unbuffered = value;
}
public static bool AreSynchronous {
get {
return ( concurrency < 1 );
}
}
public static bool AreSynchronous => ( concurrency < 1 );
public static bool AreAsynchronous {
get {
return ( concurrency > 0 );
}
}
public static bool AreAsynchronous => ( concurrency > 0 );
public static FileStream OpenSequentialStream( string path, FileMode mode, FileAccess access, FileShare share ) {
FileOptions options = FileOptions.SequentialScan;