Fix RCS1225
This commit is contained in:
@@ -1103,6 +1103,9 @@ dotnet_diagnostic.RCS1218.severity = warning
|
|||||||
# Use pattern matching instead of combination of 'is' operator and cast operator.
|
# Use pattern matching instead of combination of 'is' operator and cast operator.
|
||||||
dotnet_diagnostic.RCS1220.severity = warning
|
dotnet_diagnostic.RCS1220.severity = warning
|
||||||
|
|
||||||
|
# Make class sealed.
|
||||||
|
dotnet_diagnostic.RCS1225.severity = warning
|
||||||
|
|
||||||
# Unnecessary explicit use of enumerator.
|
# Unnecessary explicit use of enumerator.
|
||||||
dotnet_diagnostic.RCS1230.severity = warning
|
dotnet_diagnostic.RCS1230.severity = warning
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ using OpenRA.Mods.Common.UpdateRules.Rules;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.UpdateRules
|
namespace OpenRA.Mods.Common.UpdateRules
|
||||||
{
|
{
|
||||||
public class UpdatePath
|
public sealed class UpdatePath
|
||||||
{
|
{
|
||||||
// Define known update paths from stable tags to the current bleed tip
|
// Define known update paths from stable tags to the current bleed tip
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ using OpenRA.Primitives;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.D2k.UtilityCommands
|
namespace OpenRA.Mods.D2k.UtilityCommands
|
||||||
{
|
{
|
||||||
public class D2kMapImporter
|
public sealed class D2kMapImporter
|
||||||
{
|
{
|
||||||
const int MapCordonWidth = 2;
|
const int MapCordonWidth = 2;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user