mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Use UsedImplicitly instead of resharper comments
This commit is contained in:
parent
f16628beb0
commit
8aea170479
1 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ using System.Reflection;
|
|||
using System.Runtime.InteropServices;
|
||||
|
||||
using Dalamud.Memory;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Dalamud.Hooking.Internal;
|
||||
|
||||
|
|
@ -18,7 +19,7 @@ internal class FunctionPointerVariableHook<T> : Hook<T>
|
|||
private readonly nint pfnDetour;
|
||||
|
||||
// Keep it referenced so that pfnDetour doesn't become invalidated.
|
||||
// ReSharper disable once NotAccessedField.Local
|
||||
[UsedImplicitly]
|
||||
private readonly T detourDelegate;
|
||||
|
||||
private readonly nint pfnThunk;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue