Fix CA1822

This commit is contained in:
RoosterDragon
2023-03-12 16:24:19 +00:00
committed by Pavel Penev
parent e4cac1fffc
commit 277699cbd5
77 changed files with 109 additions and 105 deletions

View File

@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
string IUtilityCommand.Name => "--map-rules";
bool IUtilityCommand.ValidateArguments(string[] args) { return args.Length == 2; }
void MergeAndPrint(Map map, string key, MiniYaml value)
static void MergeAndPrint(Map map, string key, MiniYaml value)
{
var nodes = new List<MiniYamlNode>();
var includes = new List<string>();

View File

@@ -49,7 +49,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
return !invalid || PrintUsage();
}
bool PrintUsage()
static bool PrintUsage()
{
Console.WriteLine("");
Console.WriteLine("Usage:");
@@ -137,7 +137,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
return !invalid || PrintUsage();
}
bool PrintUsage()
static bool PrintUsage()
{
Console.WriteLine("");
Console.WriteLine("Usage:");