diff --git a/Marshal.cs b/Marshal.cs index db2739589..5985b9192 100644 --- a/Marshal.cs +++ b/Marshal.cs @@ -31,6 +31,7 @@ // ****************************************************************************/ using System; +using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -266,6 +267,7 @@ namespace Aaru.Helpers /// /// [MethodImpl(MethodImplOptions.AggressiveInlining)] + [SuppressMessage("ReSharper", "InconsistentNaming")] public static object SwapStructureMembersEndian(object str) { Type t = str.GetType();