Fix CA1852
This commit is contained in:
committed by
Pavel Penev
parent
277699cbd5
commit
f4af5c1764
@@ -16,7 +16,7 @@ using OpenRA.Mods.Common.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class CheckMissingSprites : IUtilityCommand
|
||||
sealed class CheckMissingSprites : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--check-missing-sprites";
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ using OpenRA.Mods.Common.Lint;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class CheckYaml : IUtilityCommand
|
||||
sealed class CheckYaml : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--check-yaml";
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ using OpenRA.Primitives;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class ConvertSpriteToPngCommand : IUtilityCommand
|
||||
sealed class ConvertSpriteToPngCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--png";
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ using System.Linq;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class CreateManPage : IUtilityCommand
|
||||
sealed class CreateManPage : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--man-page";
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ using OpenRA.Primitives;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class DebugChromeRegions : IUtilityCommand
|
||||
sealed class DebugChromeRegions : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--debug-chrome-regions";
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ using OpenRA.Graphics;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class DumpSequenceSheetsCommand : IUtilityCommand
|
||||
sealed class DumpSequenceSheetsCommand : IUtilityCommand
|
||||
{
|
||||
static readonly int[] ChannelMasks = { 2, 1, 0, 3 };
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ using OpenRA.Traits;
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
// See https://emmylua.github.io/annotation.html for reference
|
||||
class ExtractEmmyLuaAPI : IUtilityCommand
|
||||
sealed class ExtractEmmyLuaAPI : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--emmy-lua-api";
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ using System.Linq;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class ExtractFilesCommand : IUtilityCommand
|
||||
sealed class ExtractFilesCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--extract";
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ using OpenRA.Scripting;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class ExtractLuaDocsCommand : IUtilityCommand
|
||||
sealed class ExtractLuaDocsCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--lua-docs";
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ using System.Linq;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class ExtractSettingsDocsCommand : IUtilityCommand
|
||||
sealed class ExtractSettingsDocsCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--settings-docs";
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ using OpenRA.Primitives;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class ExtractSpriteSequenceDocsCommand : IUtilityCommand
|
||||
sealed class ExtractSpriteSequenceDocsCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--sprite-sequence-docs";
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class ExtractTraitDocsCommand : IUtilityCommand
|
||||
sealed class ExtractTraitDocsCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--docs";
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class ExtractWeaponDocsCommand : IUtilityCommand
|
||||
sealed class ExtractWeaponDocsCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--weapon-docs";
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ using OpenRA.Scripting;
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
// See https://studio.zerobrane.com/doc-api-auto-complete for reference
|
||||
class ExtractZeroBraneStudioLuaAPI : IUtilityCommand
|
||||
sealed class ExtractZeroBraneStudioLuaAPI : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--zbstudio-lua-api";
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ using OpenRA.FileSystem;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class GetMapHashCommand : IUtilityCommand
|
||||
sealed class GetMapHashCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--map-hash";
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ using OpenRA.Mods.Common.FileFormats;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class ListInstallShieldCabContentsCommand : IUtilityCommand
|
||||
sealed class ListInstallShieldCabContentsCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--list-installshield-cab";
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ using OpenRA.Mods.Common.FileFormats;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class ListMSCabContentsCommand : IUtilityCommand
|
||||
sealed class ListMSCabContentsCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--list-mscab";
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ using OpenRA.FileSystem;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class RefreshMapCommand : IUtilityCommand
|
||||
sealed class RefreshMapCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--refresh-map";
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ using OpenRA.FileFormats;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class ReplayMetadataCommand : IUtilityCommand
|
||||
sealed class ReplayMetadataCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--replay-metadata";
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ using System;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class Rgba2Hex : IUtilityCommand
|
||||
sealed class Rgba2Hex : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--rgba2hex";
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
||||
}
|
||||
}
|
||||
|
||||
class Argb2Hex : IUtilityCommand
|
||||
sealed class Argb2Hex : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--argb2hex";
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ using OpenRA.Mods.Common.UpdateRules;
|
||||
|
||||
namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
class UpdateMapCommand : IUtilityCommand
|
||||
sealed class UpdateMapCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--update-map";
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
||||
{
|
||||
using YamlFileSet = List<(IReadWritePackage, string, List<MiniYamlNode>)>;
|
||||
|
||||
class UpdateModCommand : IUtilityCommand
|
||||
sealed class UpdateModCommand : IUtilityCommand
|
||||
{
|
||||
string IUtilityCommand.Name => "--update-mod";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user