Fix CA1852

This commit is contained in:
RoosterDragon
2023-03-13 18:49:21 +00:00
committed by Pavel Penev
parent 277699cbd5
commit f4af5c1764
310 changed files with 510 additions and 507 deletions

View File

@@ -20,7 +20,7 @@ using OpenRA.Primitives;
namespace OpenRA.Mods.Cnc.UtilityCommands
{
class ConvertPngToShpCommand : IUtilityCommand
sealed class ConvertPngToShpCommand : IUtilityCommand
{
string IUtilityCommand.Name => "--shp";

View File

@@ -19,7 +19,7 @@ using OpenRA.Mods.Common.FileFormats;
namespace OpenRA.Mods.Cnc.UtilityCommands
{
class ImportRedAlertMapCommand : ImportGen1MapCommand, IUtilityCommand
sealed class ImportRedAlertMapCommand : ImportGen1MapCommand, IUtilityCommand
{
// TODO: 128x128 is probably not true for "mega maps" from the expansions.
public ImportRedAlertMapCommand()

View File

@@ -17,7 +17,7 @@ using OpenRA.Mods.Common.FileFormats;
namespace OpenRA.Mods.Cnc.UtilityCommands
{
class ImportTiberianDawnMapCommand : ImportGen1MapCommand, IUtilityCommand
sealed class ImportTiberianDawnMapCommand : ImportGen1MapCommand, IUtilityCommand
{
// NOTE: 64x64 map size is a C&C95 engine limitation
public ImportTiberianDawnMapCommand()

View File

@@ -15,7 +15,7 @@ using OpenRA.Traits;
namespace OpenRA.Mods.Cnc.UtilityCommands
{
class ImportTiberianSunMapCommand : ImportGen2MapCommand, IUtilityCommand
sealed class ImportTiberianSunMapCommand : ImportGen2MapCommand, IUtilityCommand
{
string IUtilityCommand.Name => "--import-ts-map";

View File

@@ -17,7 +17,7 @@ using OpenRA.Mods.Common.FileFormats;
namespace OpenRA.Mods.Cnc.UtilityCommands
{
class LegacyRulesImporter : IUtilityCommand
sealed class LegacyRulesImporter : IUtilityCommand
{
bool IUtilityCommand.ValidateArguments(string[] args)
{

View File

@@ -16,7 +16,7 @@ using OpenRA.Mods.Common.FileFormats;
namespace OpenRA.Mods.Cnc.UtilityCommands
{
class ImportLegacySequenceCommand : IUtilityCommand
sealed class ImportLegacySequenceCommand : IUtilityCommand
{
bool IUtilityCommand.ValidateArguments(string[] args)
{

View File

@@ -18,7 +18,7 @@ using OpenRA.Mods.Common.FileFormats;
namespace OpenRA.Mods.Cnc.UtilityCommands
{
class ImportLegacyTilesetCommand : IUtilityCommand
sealed class ImportLegacyTilesetCommand : IUtilityCommand
{
string IUtilityCommand.Name => "--tileset-import";

View File

@@ -20,7 +20,7 @@ using OpenRA.Primitives;
namespace OpenRA.Mods.Cnc.UtilityCommands
{
class RemapShpCommand : IUtilityCommand
sealed class RemapShpCommand : IUtilityCommand
{
string IUtilityCommand.Name => "--remap";