Fix a collection of minor style violations.
This enables several new StyleCopAnalyzer rules to be enabled immediately during migration.
This commit is contained in:
@@ -169,7 +169,7 @@ namespace OpenRA.Network
|
||||
var reader = new BinaryReader(networkStream);
|
||||
var serverProtocol = reader.ReadInt32();
|
||||
|
||||
if (ProtocolVersion.Version != serverProtocol)
|
||||
if (serverProtocol != ProtocolVersion.Version)
|
||||
throw new InvalidOperationException(
|
||||
"Protocol version mismatch. Server={0} Client={1}"
|
||||
.F(serverProtocol, ProtocolVersion.Version));
|
||||
|
||||
Reference in New Issue
Block a user