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

@@ -77,7 +77,7 @@ namespace OpenRA.Mods.Common.Widgets
}
}
class AddActorAction : IEditorAction
sealed class AddActorAction : IEditorAction
{
public string Text { get; private set; }

View File

@@ -174,7 +174,7 @@ namespace OpenRA.Mods.Common.Widgets
}
}
class CopyPasteEditorAction : IEditorAction
sealed class CopyPasteEditorAction : IEditorAction
{
[TranslationReference("amount")]
const string CopiedTiles = "notification-copied-tiles";
@@ -271,7 +271,7 @@ namespace OpenRA.Mods.Common.Widgets
}
}
class UndoCopyPaste
sealed class UndoCopyPaste
{
public CPos Cell { get; }
public TerrainTile MapTile { get; }

View File

@@ -108,7 +108,7 @@ namespace OpenRA.Mods.Common.Widgets
public void Dispose() { }
}
class RemoveActorAction : IEditorAction
sealed class RemoveActorAction : IEditorAction
{
[TranslationReference("name", "id")]
const string RemovedActor = "notification-removed-actor";
@@ -143,7 +143,7 @@ namespace OpenRA.Mods.Common.Widgets
}
}
class RemoveResourceAction : IEditorAction
sealed class RemoveResourceAction : IEditorAction
{
[TranslationReference("type")]
const string RemovedResource = "notification-removed-resource";

View File

@@ -103,7 +103,7 @@ namespace OpenRA.Mods.Common.Widgets
}
}
class AddResourcesEditorAction : IEditorAction
sealed class AddResourcesEditorAction : IEditorAction
{
[TranslationReference("amount", "type")]
const string AddedResource = "notification-added-resource";

View File

@@ -153,7 +153,7 @@ namespace OpenRA.Mods.Common.Widgets
}
}
class PaintTileEditorAction : IEditorAction
sealed class PaintTileEditorAction : IEditorAction
{
[TranslationReference("id")]
const string AddedTile = "notification-added-tile";
@@ -225,7 +225,7 @@ namespace OpenRA.Mods.Common.Widgets
}
}
class FloodFillEditorAction : IEditorAction
sealed class FloodFillEditorAction : IEditorAction
{
[TranslationReference("id")]
const string FilledTile = "notification-filled-tile";
@@ -363,7 +363,7 @@ namespace OpenRA.Mods.Common.Widgets
}
}
class UndoTile
sealed class UndoTile
{
public CPos Cell { get; }
public TerrainTile MapTile { get; }