Fix RCS1225

This commit is contained in:
RoosterDragon
2023-08-11 19:43:35 +01:00
committed by Gustas
parent e3646595ab
commit 724511e244
3 changed files with 5 additions and 2 deletions

View File

@@ -1103,6 +1103,9 @@ dotnet_diagnostic.RCS1218.severity = warning
# Use pattern matching instead of combination of 'is' operator and cast operator.
dotnet_diagnostic.RCS1220.severity = warning
# Make class sealed.
dotnet_diagnostic.RCS1225.severity = warning
# Unnecessary explicit use of enumerator.
dotnet_diagnostic.RCS1230.severity = warning

View File

@@ -15,7 +15,7 @@ using OpenRA.Mods.Common.UpdateRules.Rules;
namespace OpenRA.Mods.Common.UpdateRules
{
public class UpdatePath
public sealed class UpdatePath
{
// Define known update paths from stable tags to the current bleed tip
//

View File

@@ -18,7 +18,7 @@ using OpenRA.Primitives;
namespace OpenRA.Mods.D2k.UtilityCommands
{
public class D2kMapImporter
public sealed class D2kMapImporter
{
const int MapCordonWidth = 2;