diff --git a/src/Digitalroot.Valheim.PluginInfo/Digitalroot.Valheim.PluginInfo.csproj b/src/Digitalroot.Valheim.PluginInfo/Digitalroot.Valheim.PluginInfo.csproj index 5b06470..eff76fa 100644 --- a/src/Digitalroot.Valheim.PluginInfo/Digitalroot.Valheim.PluginInfo.csproj +++ b/src/Digitalroot.Valheim.PluginInfo/Digitalroot.Valheim.PluginInfo.csproj @@ -74,11 +74,7 @@ compile; build; native; contentfiles; analyzers; buildtransitive - - all - runtime - compile; build; native; contentfiles; analyzers; buildtransitive - + all diff --git a/src/Digitalroot.Valheim.PluginInfo/Main.cs b/src/Digitalroot.Valheim.PluginInfo/Main.cs index 7afa32b..846187f 100644 --- a/src/Digitalroot.Valheim.PluginInfo/Main.cs +++ b/src/Digitalroot.Valheim.PluginInfo/Main.cs @@ -3,7 +3,6 @@ using BepInEx.Configuration; using Digitalroot.Valheim.Common; using HarmonyLib; -using JetBrains.Annotations; using System; using System.Collections.Generic; using System.IO; @@ -17,7 +16,8 @@ namespace Digitalroot.Valheim.PluginInfo public partial class Main : BaseUnityPlugin, ITraceableLogging { private Harmony _harmony; - [UsedImplicitly] public static ConfigEntry NexusId; + // ReSharper disable once MemberCanBePrivate.Global + public static ConfigEntry NexusId; public static Main Instance; private const string JVLGuid = "com.jotunn.jotunn"; private const string CacheName = "chainloader"; @@ -52,7 +52,7 @@ public Main() } } - [UsedImplicitly] + // ReSharper disable once UnusedMember.Local private void Awake() { try @@ -66,7 +66,7 @@ private void Awake() } } - [UsedImplicitly] + // ReSharper disable once UnusedMember.Local private void OnDestroy() { try @@ -328,10 +328,15 @@ public BepInExPluginInfoProxy(BepInEx.PluginInfo pluginInfo, string location) } public BepInPlugin Metadata => _pluginInfo.Metadata; + // ReSharper disable once UnusedMember.Local public IEnumerable Processes => _pluginInfo.Processes; + // ReSharper disable once UnusedMember.Local public IEnumerable Dependencies => _pluginInfo.Dependencies; + // ReSharper disable once UnusedMember.Local public IEnumerable Incompatibilities => _pluginInfo.Incompatibilities; public string Location { get; } + // ReSharper disable once UnusedMember.Local + // ReSharper disable once MemberHidesStaticFromOuterClass public BaseUnityPlugin Instance => _pluginInfo.Instance; public override string ToString() => _pluginInfo.ToString(); } diff --git a/src/Digitalroot.Valheim.PluginInfo/Patch.cs b/src/Digitalroot.Valheim.PluginInfo/Patch.cs index 06b5506..1ce669b 100644 --- a/src/Digitalroot.Valheim.PluginInfo/Patch.cs +++ b/src/Digitalroot.Valheim.PluginInfo/Patch.cs @@ -1,18 +1,16 @@ using Digitalroot.Valheim.Common; using HarmonyLib; -using JetBrains.Annotations; using System; using System.Reflection; namespace Digitalroot.Valheim.PluginInfo { - [UsedImplicitly] + // ReSharper disable once ClassNeverInstantiated.Global public class Patch { [HarmonyPatch(typeof(FejdStartup), nameof(FejdStartup.Start))] public class PatchFejdStartupStart { - [UsedImplicitly] [HarmonyPostfix] [HarmonyPriority(Priority.Low)] public static void Postfix() diff --git a/src/Digitalroot.Valheim.PluginInfo/packages.lock.json b/src/Digitalroot.Valheim.PluginInfo/packages.lock.json index 74069fc..aaf974a 100644 --- a/src/Digitalroot.Valheim.PluginInfo/packages.lock.json +++ b/src/Digitalroot.Valheim.PluginInfo/packages.lock.json @@ -35,9 +35,9 @@ }, "Digitalroot.Valheim.Common.References": { "type": "Direct", - "requested": "[0.212.18, )", - "resolved": "0.212.18", - "contentHash": "7If2WpFYCgDDkF+R6Cdl4pExlTPairmciUeHr4TYapXGW3I1E2DGQyeqwY8nnL33ulp0zPnKGlQWFqrUEOPONA==" + "requested": "[0.212.19, )", + "resolved": "0.212.19", + "contentHash": "zPF0QkHhzkEH7mBZJETkqWt66Jq8Ou7FE4AQ7BJ0hlhlM62R3/099fAnKYeCn8mn51qFQSTQbcE8GUp1xm0IOw==" }, "Digitalroot.Valheim.Common.Utils": { "type": "Direct",