Run StyleCop on the smaller projects.

Also add a copy of the rules to the CrashDialog and Irc projects.
This commit is contained in:
RoosterDragon
2014-06-23 00:03:37 +01:00
parent e41791568d
commit 38617dc0a9
17 changed files with 786 additions and 105 deletions

View File

@@ -27,7 +27,7 @@ namespace OpenRA.Mods.D2k
{
readonly ThrowsShrapnelInfo info;
public ThrowsShrapnel(ThrowsShrapnelInfo info)
public ThrowsShrapnel(ThrowsShrapnelInfo info)
{
this.info = info;
}
@@ -46,7 +46,7 @@ namespace OpenRA.Mods.D2k
var args = new ProjectileArgs
{
Weapon = wep,
Facing = self.World.SharedRandom.Next(-1,255),
Facing = self.World.SharedRandom.Next(-1, 255),
FirepowerModifier = self.TraitsImplementing<IFirepowerModifier>()
.Select(a => a.GetFirepowerModifier())
.Product(),