Add missing API that are to be decorated with [SecurityCritical] for compatibility
[mono.git] / mcs / class / corlib / System.Threading / ThreadPool.cs
index 260512896b75bd9be66d456f2b939295982bf911..97064daaba9f057be0190713d9b451154170b003 100644 (file)
@@ -154,14 +154,14 @@ namespace System.Threading {
                                                            (long) millisecondsTimeOutInterval, executeOnlyOnce);
                }
 
-#if !NET_2_1 || MOBILE
-
                [CLSCompliant (false)]
                unsafe public static bool UnsafeQueueNativeOverlapped (NativeOverlapped *overlapped)
                {
                        throw new NotImplementedException ();
                }
 
+#if !NET_2_1 || MOBILE
+
                [SecurityPermission (SecurityAction.Demand, ControlEvidence=true, ControlPolicy=true)]
                public static bool UnsafeQueueUserWorkItem (WaitCallback callBack, object state)
                {