Fix warnings in mscorlib's Test suite + bring a couple more tests + fix thread rename...
[mono.git] / mcs / class / corlib / System.Runtime.ConstrainedExecution / CriticialFinalizerObject.cs
index b9f9653086759fb0c2b3ce4500c30464d08f61e4..412377afed78d7d2a4f8c21d9d64e8680aca9ba2 100644 (file)
@@ -26,8 +26,6 @@
 // Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 
-#if NET_2_0
-
 using System.Runtime.InteropServices;
 
 namespace System.Runtime.ConstrainedExecution
@@ -35,6 +33,11 @@ namespace System.Runtime.ConstrainedExecution
        [ComVisible (true)]
         public abstract class CriticalFinalizerObject
         {
+               //
+               // WARNING: If you add any fields here, update the definition
+               // for the runtime structures as well
+               //
+               
                [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
                 protected CriticalFinalizerObject ()
                 {
@@ -46,4 +49,3 @@ namespace System.Runtime.ConstrainedExecution
                }
         }
 }
-#endif