Merge pull request #2338 from BogdanovKirill/httpwritefix3
[mono.git] / mcs / class / corlib / Mono / Runtime.cs
index 80e56a559ac900ae0c4779d6a7e7bb66a58b177b..7a5f9887c6334fff01b0f7f9835659b44fac9be3 100644 (file)
@@ -59,7 +59,10 @@ namespace Mono {
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
                static extern string GetNativeStackTrace (Exception exception);
 
-               [MethodImplAttribute (MethodImplOptions.InternalCall)]
-               public static extern bool SetGCAllowSynchronousMajor (bool flag);
+               public static bool SetGCAllowSynchronousMajor (bool flag)
+               {
+                       // No longer used
+                       return true;
+               }
        }
 }