[sre] Fix the signature of the create_dynamic_method () icall, make it static since...
authorZoltan Varga <vargaz@gmail.com>
Thu, 22 Jun 2017 14:26:46 +0000 (10:26 -0400)
committerGitHub <noreply@github.com>
Thu, 22 Jun 2017 14:26:46 +0000 (10:26 -0400)
mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs

index 24e02528cec093ddc2dbb9b4e63eaf82316b60ff..82e099c4c418759f64b26655abeab9145495cb73 100644 (file)
@@ -131,7 +131,7 @@ namespace System.Reflection.Emit {
                }
 
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
-               private extern void create_dynamic_method (DynamicMethod m);
+               private static extern void create_dynamic_method (DynamicMethod m);
 
                private void CreateDynMethod () {
                        if (mhandle.Value == IntPtr.Zero) {