From 63383895df89af1e7ef49fe4d715fdaae7188177 Mon Sep 17 00:00:00 2001 From: szymmirr Date: Fri, 8 Jan 2021 08:13:08 +0100 Subject: [PATCH] Remove all warnings --- GHNamespaceK/Class119.cs | 18 +++++++----------- Properties/AssemblyInfo.cs | 1 - 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/GHNamespaceK/Class119.cs b/GHNamespaceK/Class119.cs index a5cf071..213b4f2 100644 --- a/GHNamespaceK/Class119.cs +++ b/GHNamespaceK/Class119.cs @@ -22,11 +22,10 @@ public static bool smethod_1() return alIsExtensionPresent("AL_EXT_MCFORMATS"); } - [CLSCompliant(true), SuppressUnmanagedCodeSecurity] + [SuppressUnmanagedCodeSecurity] [DllImport("openal32.dll", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void alGenSources(int n, out IntPtr sources); - [CLSCompliant(true)] public static IntPtr smethod_2() { IntPtr result; @@ -34,21 +33,20 @@ public static IntPtr smethod_2() return result; } - [CLSCompliant(true), SuppressUnmanagedCodeSecurity] + [SuppressUnmanagedCodeSecurity] [DllImport("openal32.dll", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void alDeleteSources(int int0, ref IntPtr intptr0); - [CLSCompliant(true)] public static void smethod_3(IntPtr intptr0) { alDeleteSources(1, ref intptr0); } - [CLSCompliant(false), SuppressUnmanagedCodeSecurity] + [SuppressUnmanagedCodeSecurity] [DllImport("openal32.dll", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void alSourcef(IntPtr intptr0, Enum10 enum100, float float0); - [CLSCompliant(true), SuppressUnmanagedCodeSecurity] + [SuppressUnmanagedCodeSecurity] [DllImport("openal32.dll", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void alGetSourcei(IntPtr sid, Enum11 param, out int value); @@ -59,15 +57,15 @@ public static int smethod_4(IntPtr intptr0, Enum11 enum110) return result; } - [CLSCompliant(true), SuppressUnmanagedCodeSecurity] + [SuppressUnmanagedCodeSecurity] [DllImport("openal32.dll", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void alSourcePlay(IntPtr intptr0); - [CLSCompliant(true), SuppressUnmanagedCodeSecurity] + [SuppressUnmanagedCodeSecurity] [DllImport("openal32.dll", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void alSourceStop(IntPtr intptr0); - [CLSCompliant(true), SuppressUnmanagedCodeSecurity] + [SuppressUnmanagedCodeSecurity] [DllImport("openal32.dll", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void alSourcePause(IntPtr intptr0); @@ -115,7 +113,6 @@ public static IntPtr[] smethod_7(IntPtr intptr0, int int0) [DllImport("openal32.dll", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void alGenBuffers(int n, [Out] IntPtr[] buffers); - [CLSCompliant(true)] public static IntPtr[] smethod_8(int int0) { var array = new IntPtr[int0]; @@ -127,7 +124,6 @@ public static IntPtr[] smethod_8(int int0) [DllImport("openal32.dll", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void alDeleteBuffers(int n, [In] IntPtr[] buffers); - [CLSCompliant(true)] public static void smethod_9(IntPtr[] intptr0) { if (intptr0 == null) diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 5bcb247..dd708ed 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -16,5 +16,4 @@ [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Guid("2ea4daa3-fbad-426d-b260-1bfc38a7c320")] -[assembly: CLSCompliant(true)] [module: UnverifiableCode] \ No newline at end of file