Fix CA1852
This commit is contained in:
committed by
Pavel Penev
parent
277699cbd5
commit
f4af5c1764
@@ -15,7 +15,7 @@ using OpenRA.Server;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckAngle : ILintRulesPass, ILintServerMapPass
|
||||
sealed class CheckAngle : ILintRulesPass, ILintServerMapPass
|
||||
{
|
||||
void ILintRulesPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Ruleset rules)
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace OpenRA.Mods.Common.Lint
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public sealed class CustomLintableHotkeyNames : Attribute { }
|
||||
|
||||
class CheckChromeHotkeys : ILintPass
|
||||
sealed class CheckChromeHotkeys : ILintPass
|
||||
{
|
||||
public void Run(Action<string> emitError, Action<string> emitWarning, ModData modData)
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ using OpenRA.Widgets;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckChromeLogic : ILintPass
|
||||
sealed class CheckChromeLogic : ILintPass
|
||||
{
|
||||
public void Run(Action<string> emitError, Action<string> emitWarning, ModData modData)
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckCursors : ILintRulesPass, ILintServerMapPass
|
||||
sealed class CheckCursors : ILintRulesPass, ILintServerMapPass
|
||||
{
|
||||
void ILintRulesPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Ruleset rules)
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckDefaultVisibility : ILintRulesPass, ILintServerMapPass
|
||||
sealed class CheckDefaultVisibility : ILintRulesPass, ILintServerMapPass
|
||||
{
|
||||
void ILintRulesPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Ruleset rules)
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckHitShapes : ILintRulesPass, ILintServerMapPass
|
||||
sealed class CheckHitShapes : ILintRulesPass, ILintServerMapPass
|
||||
{
|
||||
void ILintRulesPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Ruleset rules)
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ using OpenRA.Server;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckInteractable : ILintRulesPass, ILintServerMapPass
|
||||
sealed class CheckInteractable : ILintRulesPass, ILintServerMapPass
|
||||
{
|
||||
void ILintRulesPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Ruleset rules)
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckNotifications : ILintRulesPass, ILintServerMapPass
|
||||
sealed class CheckNotifications : ILintRulesPass, ILintServerMapPass
|
||||
{
|
||||
void ILintRulesPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Ruleset rules)
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckPalettes : ILintRulesPass, ILintServerMapPass
|
||||
sealed class CheckPalettes : ILintRulesPass, ILintServerMapPass
|
||||
{
|
||||
void ILintRulesPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Ruleset rules)
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ using OpenRA.Server;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckRangeLimit : ILintRulesPass, ILintServerMapPass
|
||||
sealed class CheckRangeLimit : ILintRulesPass, ILintServerMapPass
|
||||
{
|
||||
void ILintRulesPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Ruleset rules)
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckRevealFootprint : ILintRulesPass, ILintServerMapPass
|
||||
sealed class CheckRevealFootprint : ILintRulesPass, ILintServerMapPass
|
||||
{
|
||||
void ILintRulesPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Ruleset rules)
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckSequences : ILintSequencesPass, ILintServerMapPass
|
||||
sealed class CheckSequences : ILintSequencesPass, ILintServerMapPass
|
||||
{
|
||||
void ILintServerMapPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, MapPreview map, Ruleset mapRules)
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ using OpenRA.Server;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckSpriteBodies : ILintRulesPass, ILintServerMapPass
|
||||
sealed class CheckSpriteBodies : ILintRulesPass, ILintServerMapPass
|
||||
{
|
||||
void ILintRulesPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Ruleset rules)
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ using System.Reflection;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckSyncAnnotations : ILintPass
|
||||
sealed class CheckSyncAnnotations : ILintPass
|
||||
{
|
||||
public void Run(Action<string> emitError, Action<string> emitWarning, ModData modData)
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ using OpenRA.Server;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckTooltips : ILintRulesPass, ILintServerMapPass
|
||||
sealed class CheckTooltips : ILintRulesPass, ILintServerMapPass
|
||||
{
|
||||
void ILintRulesPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Ruleset rules)
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckTranslationReference : ILintPass, ILintMapPass
|
||||
sealed class CheckTranslationReference : ILintPass, ILintMapPass
|
||||
{
|
||||
const BindingFlags Binding = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ using OpenRA.FileSystem;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckTranslationSyntax : ILintPass, ILintMapPass
|
||||
sealed class CheckTranslationSyntax : ILintPass, ILintMapPass
|
||||
{
|
||||
void ILintMapPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Map map)
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ using OpenRA.Server;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckUnknownTraitFields : ILintPass, ILintMapPass, ILintServerMapPass
|
||||
sealed class CheckUnknownTraitFields : ILintPass, ILintMapPass, ILintServerMapPass
|
||||
{
|
||||
void ILintPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData)
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ using OpenRA.Server;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class CheckUnknownWeaponFields : ILintPass, ILintMapPass, ILintServerMapPass
|
||||
sealed class CheckUnknownWeaponFields : ILintPass, ILintMapPass, ILintServerMapPass
|
||||
{
|
||||
void ILintPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData)
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ using OpenRA.Server;
|
||||
|
||||
namespace OpenRA.Mods.Common.Lint
|
||||
{
|
||||
class LintBuildablePrerequisites : ILintRulesPass, ILintServerMapPass
|
||||
sealed class LintBuildablePrerequisites : ILintRulesPass, ILintServerMapPass
|
||||
{
|
||||
void ILintRulesPass.Run(Action<string> emitError, Action<string> emitWarning, ModData modData, Ruleset rules)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user