Fix CA1852
This commit is contained in:
committed by
Pavel Penev
parent
277699cbd5
commit
f4af5c1764
@@ -461,7 +461,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
bool ShouldDoOnSave { get; }
|
||||
}
|
||||
|
||||
class EditActorEditorAction : IEditorAction
|
||||
sealed class EditActorEditorAction : IEditorAction
|
||||
{
|
||||
[TranslationReference("name", "id")]
|
||||
const string EditedActor = "notification-edited-actor";
|
||||
@@ -502,7 +502,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
}
|
||||
}
|
||||
|
||||
class EditActorPreview
|
||||
sealed class EditActorPreview
|
||||
{
|
||||
readonly EditorActorPreview actor;
|
||||
readonly SetActorIdAction setActorIdAction;
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
[TranslationReference("actorType")]
|
||||
const string ActorTypeTooltip = "label-actor-type";
|
||||
|
||||
class ActorSelectorActor
|
||||
sealed class ActorSelectorActor
|
||||
{
|
||||
public readonly ActorInfo Actor;
|
||||
public readonly string[] Categories;
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
public string UiLabel;
|
||||
}
|
||||
|
||||
class SaveDirectory
|
||||
sealed class SaveDirectory
|
||||
{
|
||||
public readonly Folder Folder;
|
||||
public readonly string DisplayName;
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
{
|
||||
public class TileSelectorLogic : CommonSelectorLogic
|
||||
{
|
||||
class TileSelectorTemplate
|
||||
sealed class TileSelectorTemplate
|
||||
{
|
||||
public readonly TerrainTemplateInfo Template;
|
||||
public readonly string[] Categories;
|
||||
|
||||
Reference in New Issue
Block a user