mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-19 15:51:54 +00:00
Fix sealed warnings
This commit is contained in:
5 files changed
+5
-5
No files matched your search
@@ -16,7 +16,7 @@ namespace Reactor.Benchmarks;
|
|||||||
[StopOnFirstError, Config(typeof(Config))]
|
[StopOnFirstError, Config(typeof(Config))]
|
||||||
public class AssetBundleBenchmarks
|
public class AssetBundleBenchmarks
|
||||||
{
|
{
|
||||||
private class Config : ManualConfig
|
private sealed class Config : ManualConfig
|
||||||
{
|
{
|
||||||
public Config()
|
public Config()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using InnerNet;
|
|||||||
|
|
||||||
namespace Reactor.Networking.Patches;
|
namespace Reactor.Networking.Patches;
|
||||||
|
|
||||||
internal class ReactorClientData
|
internal sealed class ReactorClientData
|
||||||
{
|
{
|
||||||
public ClientData ClientData { get; }
|
public ClientData ClientData { get; }
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ public partial class ReactorPlugin : BasePlugin
|
|||||||
}
|
}
|
||||||
|
|
||||||
[RegisterInIl2Cpp]
|
[RegisterInIl2Cpp]
|
||||||
private class ReactorComponent : MonoBehaviour
|
private sealed class ReactorComponent : MonoBehaviour
|
||||||
{
|
{
|
||||||
[HideFromIl2Cpp]
|
[HideFromIl2Cpp]
|
||||||
public ReactorPlugin? Plugin { get; internal set; }
|
public ReactorPlugin? Plugin { get; internal set; }
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ namespace Reactor.Utilities;
|
|||||||
public static class Coroutines
|
public static class Coroutines
|
||||||
{
|
{
|
||||||
[RegisterInIl2Cpp]
|
[RegisterInIl2Cpp]
|
||||||
internal class Component : MonoBehaviour
|
internal sealed class Component : MonoBehaviour
|
||||||
{
|
{
|
||||||
internal static Component? Instance { get; set; }
|
internal static Component? Instance { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Object = UnityEngine.Object;
|
|||||||
|
|
||||||
namespace Reactor.Utilities;
|
namespace Reactor.Utilities;
|
||||||
|
|
||||||
internal class RegionInfoWatcher : IDisposable
|
internal sealed class RegionInfoWatcher : IDisposable
|
||||||
{
|
{
|
||||||
private FileSystemWatcher Watcher { get; }
|
private FileSystemWatcher Watcher { get; }
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user