From 031450ca7e059594f723519365dc3e6ceb476545 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Wed, 30 Nov 2022 19:24:44 +0000 Subject: [PATCH] Suppress CA2101 false positive Strings are marshalled using a custom marshaller, this does not apply --- VpSharp/src/Internal/NativeMethods.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VpSharp/src/Internal/NativeMethods.cs b/VpSharp/src/Internal/NativeMethods.cs index 1e7554d..5ced5e9 100644 --- a/VpSharp/src/Internal/NativeMethods.cs +++ b/VpSharp/src/Internal/NativeMethods.cs @@ -1,8 +1,9 @@ -using System.Runtime.InteropServices; +using System.Runtime.InteropServices; using VpSharp.Internal.NativeAttributes; using static System.Runtime.InteropServices.DllImportSearchPath; // ReSharper disable InconsistentNaming +#pragma warning disable CA2101 #pragma warning disable CA5393 namespace VpSharp.Internal;