Author: zoltan
Date: 2005-06-06 11:06:37 -0400 (Mon, 06 Jun 2005)
New Revision: 45499

Modified:
   trunk/mcs/class/corlib/System/ChangeLog
   trunk/mcs/class/corlib/System/GC.cs
Log:
2005-06-06  Zoltan Varga  <[EMAIL PROTECTED]>

        * GC.cs: Fix build.


Modified: trunk/mcs/class/corlib/System/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System/ChangeLog     2005-06-06 15:05:42 UTC (rev 
45498)
+++ trunk/mcs/class/corlib/System/ChangeLog     2005-06-06 15:06:37 UTC (rev 
45499)
@@ -1,5 +1,7 @@
 2005-06-06  Zoltan Varga  <[EMAIL PROTECTED]>
 
+       * GC.cs: Fix build.
+       
        * GC.cs UnhandledExceptionEventArgs.cs IntPtr.cs RuntimeFieldHandle.cs 
          String.cs Object.cs Math.cs RuntimeMethodHandle.cs ModuleHandle.cs 
          RuntimeTypeHandle.cs AppDomain.cs: Add some missing 2.0 
methods/attributes.

Modified: trunk/mcs/class/corlib/System/GC.cs
===================================================================
--- trunk/mcs/class/corlib/System/GC.cs 2005-06-06 15:05:42 UTC (rev 45498)
+++ trunk/mcs/class/corlib/System/GC.cs 2005-06-06 15:06:37 UTC (rev 45499)
@@ -103,6 +103,7 @@
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
                public extern static void WaitForPendingFinalizers ();
 
+#if NET_2_0
                [ReliabilityContractAttribute (Consistency.WillNotCorruptState, 
Cer.Success)]
                [MonoTODO]
                public static int CollectionCount (int generation) {
@@ -118,6 +119,6 @@
                public static void RemoveMemoryPressure (long bytesAllocated) {
                        throw new NotImplementedException ();
                }
-
+#endif
        }
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to