diff --git a/OpenRA.Mods.Common/Scripting/Properties/ProductionProperties.cs b/OpenRA.Mods.Common/Scripting/Properties/ProductionProperties.cs index 911e88dbed..81e49ea503 100644 --- a/OpenRA.Mods.Common/Scripting/Properties/ProductionProperties.cs +++ b/OpenRA.Mods.Common/Scripting/Properties/ProductionProperties.cs @@ -151,7 +151,7 @@ namespace OpenRA.Mods.Common.Scripting var squad = new List(); var func = actionFunc.CopyReference() as LuaFunction; - Action productionHandler = (_, __) => { }; + Action productionHandler = (a, b) => { }; productionHandler = (factory, unit) => { if (player != factory.Owner) diff --git a/OpenRA.Mods.D2k/Activities/SwallowActor.cs b/OpenRA.Mods.D2k/Activities/SwallowActor.cs index a5eada4140..12b91da486 100644 --- a/OpenRA.Mods.D2k/Activities/SwallowActor.cs +++ b/OpenRA.Mods.D2k/Activities/SwallowActor.cs @@ -68,7 +68,7 @@ namespace OpenRA.Mods.D2k.Activities { var insurance = targetClose.Owner.PlayerActor.TraitOrDefault(); if (insurance != null) - self.World.AddFrameEndTask(__ => insurance.TryActivate()); + self.World.AddFrameEndTask(w => insurance.TryActivate()); } }); } diff --git a/OpenRA.Platforms.Default/OpenGL.cs b/OpenRA.Platforms.Default/OpenGL.cs index dba19d877f..f55c840410 100644 --- a/OpenRA.Platforms.Default/OpenGL.cs +++ b/OpenRA.Platforms.Default/OpenGL.cs @@ -19,6 +19,7 @@ using SDL2; namespace OpenRA.Platforms.Default { +#pragma warning disable IDE1006 // Naming Styles [SuppressMessage("Microsoft.StyleCop.CSharp.NamingRules", "SA1300:ElementMustBeginWithUpperCaseLetter", Justification = "C-style naming is kept for consistency with the underlying native API.")] [SuppressMessage("Microsoft.StyleCop.CSharp.NamingRules", "SA1310:FieldNamesMustNotContainUnderscore",