From c664af4fe2a1e3b5951aec410a0f70343486d109 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Tue, 25 Oct 2022 11:09:06 +0200 Subject: [PATCH] Seal the Server.Connection class Solves CA1816 --- OpenRA.Game/Server/Connection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Server/Connection.cs b/OpenRA.Game/Server/Connection.cs index 4bb1d76aa5..008d4d78ce 100644 --- a/OpenRA.Game/Server/Connection.cs +++ b/OpenRA.Game/Server/Connection.cs @@ -21,7 +21,7 @@ using System.Threading; namespace OpenRA.Server { - public class Connection : IDisposable + public sealed class Connection : IDisposable { public const int MaxOrderLength = 131072;