Fix StyleCop warnings in OpenRA.Game

This commit is contained in:
Hellhake
2015-01-01 23:04:18 +01:00
parent e9989496c4
commit 5a97a4b63b
119 changed files with 547 additions and 529 deletions

View File

@@ -116,7 +116,11 @@ namespace OpenRA
IOrderGenerator orderGenerator_;
public IOrderGenerator OrderGenerator
{
get { return orderGenerator_; }
get
{
return orderGenerator_;
}
set
{
Sync.AssertUnsynced("The current order generator may not be changed from synced code");
@@ -296,7 +300,7 @@ namespace OpenRA
public int SyncHash()
{
//using (new PerfSample("synchash"))
// using (new PerfSample("synchash"))
{
var n = 0;
var ret = 0;