diff --git a/Reactor.Benchmarks/AssetBundleBenchmarks.cs b/Reactor.Benchmarks/AssetBundleBenchmarks.cs index e80e177..9e092c7 100644 --- a/Reactor.Benchmarks/AssetBundleBenchmarks.cs +++ b/Reactor.Benchmarks/AssetBundleBenchmarks.cs @@ -16,7 +16,7 @@ namespace Reactor.Benchmarks; [StopOnFirstError, Config(typeof(Config))] public class AssetBundleBenchmarks { - private class Config : ManualConfig + private sealed class Config : ManualConfig { public Config() { diff --git a/Reactor/Networking/Patches/ReactorClientData.cs b/Reactor/Networking/Patches/ReactorClientData.cs index 1fe5f38..981f71b 100644 --- a/Reactor/Networking/Patches/ReactorClientData.cs +++ b/Reactor/Networking/Patches/ReactorClientData.cs @@ -4,7 +4,7 @@ using InnerNet; namespace Reactor.Networking.Patches; -internal class ReactorClientData +internal sealed class ReactorClientData { public ClientData ClientData { get; } diff --git a/Reactor/ReactorPlugin.cs b/Reactor/ReactorPlugin.cs index 872c7d6..a69c3b9 100644 --- a/Reactor/ReactorPlugin.cs +++ b/Reactor/ReactorPlugin.cs @@ -93,7 +93,7 @@ public partial class ReactorPlugin : BasePlugin } [RegisterInIl2Cpp] - private class ReactorComponent : MonoBehaviour + private sealed class ReactorComponent : MonoBehaviour { [HideFromIl2Cpp] public ReactorPlugin? Plugin { get; internal set; } diff --git a/Reactor/Utilities/Coroutines.cs b/Reactor/Utilities/Coroutines.cs index d050a26..326a813 100644 --- a/Reactor/Utilities/Coroutines.cs +++ b/Reactor/Utilities/Coroutines.cs @@ -14,7 +14,7 @@ namespace Reactor.Utilities; public static class Coroutines { [RegisterInIl2Cpp] - internal class Component : MonoBehaviour + internal sealed class Component : MonoBehaviour { internal static Component? Instance { get; set; } diff --git a/Reactor/Utilities/RegionInfoWatcher.cs b/Reactor/Utilities/RegionInfoWatcher.cs index 461f1c7..1ecdbdb 100644 --- a/Reactor/Utilities/RegionInfoWatcher.cs +++ b/Reactor/Utilities/RegionInfoWatcher.cs @@ -7,7 +7,7 @@ using Object = UnityEngine.Object; namespace Reactor.Utilities; -internal class RegionInfoWatcher : IDisposable +internal sealed class RegionInfoWatcher : IDisposable { private FileSystemWatcher Watcher { get; }