diff --git a/OpenRA.Mods.Common/Lint/CheckChromeHotkeys.cs b/OpenRA.Mods.Common/Lint/CheckChromeHotkeys.cs index 0f2ae827b7..54524b4fd8 100644 --- a/OpenRA.Mods.Common/Lint/CheckChromeHotkeys.cs +++ b/OpenRA.Mods.Common/Lint/CheckChromeHotkeys.cs @@ -64,7 +64,7 @@ namespace OpenRA.Mods.Common.Lint } } - void CheckInner(ModData modData, string[] namedKeys, (string Widget, string Field)[] checkWidgetFields, Dictionary> customLintMethods, + static void CheckInner(ModData modData, string[] namedKeys, (string Widget, string Field)[] checkWidgetFields, Dictionary> customLintMethods, IEnumerable nodes, string filename, MiniYamlNode parent, Action emitError) { foreach (var node in nodes) diff --git a/OpenRA.Mods.Common/Lint/CheckChromeIntegerExpressions.cs b/OpenRA.Mods.Common/Lint/CheckChromeIntegerExpressions.cs index e170ec242d..f76c81a0b7 100644 --- a/OpenRA.Mods.Common/Lint/CheckChromeIntegerExpressions.cs +++ b/OpenRA.Mods.Common/Lint/CheckChromeIntegerExpressions.cs @@ -24,7 +24,7 @@ namespace OpenRA.Mods.Common.Lint CheckInner(MiniYaml.FromStream(modData.DefaultFileSystem.Open(filename), filename), filename, emitError); } - void CheckInner(IEnumerable nodes, string filename, Action emitError) + static void CheckInner(IEnumerable nodes, string filename, Action emitError) { var substitutions = new Dictionary(); var readOnlySubstitutions = new ReadOnlyDictionary(substitutions); diff --git a/OpenRA.Mods.Common/Lint/CheckChromeLogic.cs b/OpenRA.Mods.Common/Lint/CheckChromeLogic.cs index 8700286b96..5ad6072dd6 100644 --- a/OpenRA.Mods.Common/Lint/CheckChromeLogic.cs +++ b/OpenRA.Mods.Common/Lint/CheckChromeLogic.cs @@ -23,7 +23,7 @@ namespace OpenRA.Mods.Common.Lint CheckInner(MiniYaml.FromStream(modData.DefaultFileSystem.Open(filename), filename), filename, emitError); } - void CheckInner(IEnumerable nodes, string filename, Action emitError) + static void CheckInner(IEnumerable nodes, string filename, Action emitError) { foreach (var node in nodes) { diff --git a/OpenRA.Mods.Common/Traits/Buildings/Bridge.cs b/OpenRA.Mods.Common/Traits/Buildings/Bridge.cs index eaed6a1c44..3b748e75e2 100644 --- a/OpenRA.Mods.Common/Traits/Buildings/Bridge.cs +++ b/OpenRA.Mods.Common/Traits/Buildings/Bridge.cs @@ -371,7 +371,7 @@ namespace OpenRA.Mods.Common.Traits neighbours[d].neighbours[d].UpdateState(); } - void AggregateDamageState(Bridge b, int d, ref DamageState damage) + static void AggregateDamageState(Bridge b, int d, ref DamageState damage) { if (b.health.DamageState > damage) damage = b.health.DamageState;