From f816a32fd359b539e84672b64a810a1027f0bfe2 Mon Sep 17 00:00:00 2001 From: Ionite Date: Mon, 15 Jul 2024 15:35:59 -0400 Subject: [PATCH 1/2] Add UsedImplicitly to IDalamudPlugin --- Dalamud/Plugin/IDalamudPlugin.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dalamud/Plugin/IDalamudPlugin.cs b/Dalamud/Plugin/IDalamudPlugin.cs index ebf39708f2..4a78dec008 100644 --- a/Dalamud/Plugin/IDalamudPlugin.cs +++ b/Dalamud/Plugin/IDalamudPlugin.cs @@ -1,8 +1,11 @@ +using JetBrains.Annotations; + namespace Dalamud.Plugin; /// /// This interface represents a basic Dalamud plugin. All plugins have to implement this interface. /// +[UsedImplicitly(ImplicitUseKindFlags.InstantiatedNoFixedConstructorSignature,ImplicitUseTargetFlags.WithInheritors)] public interface IDalamudPlugin : IDisposable { } From 5668624488ead9154385ca65bf9551e9373e98dd Mon Sep 17 00:00:00 2001 From: Ionite Date: Mon, 15 Jul 2024 15:39:42 -0400 Subject: [PATCH 2/2] Fix Formatting --- Dalamud/Plugin/IDalamudPlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dalamud/Plugin/IDalamudPlugin.cs b/Dalamud/Plugin/IDalamudPlugin.cs index 4a78dec008..37ccfdb9e4 100644 --- a/Dalamud/Plugin/IDalamudPlugin.cs +++ b/Dalamud/Plugin/IDalamudPlugin.cs @@ -5,7 +5,7 @@ namespace Dalamud.Plugin; /// /// This interface represents a basic Dalamud plugin. All plugins have to implement this interface. /// -[UsedImplicitly(ImplicitUseKindFlags.InstantiatedNoFixedConstructorSignature,ImplicitUseTargetFlags.WithInheritors)] +[UsedImplicitly(ImplicitUseKindFlags.InstantiatedNoFixedConstructorSignature, ImplicitUseTargetFlags.WithInheritors)] public interface IDalamudPlugin : IDisposable { }