2005-05-22 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Sun, 22 May 2005 15:20:04 +0000 (15:20 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Sun, 22 May 2005 15:20:04 +0000 (15:20 -0000)
* corlib.dll.sources: Renamed CER to Cer to match 2.0 beta2.

svn path=/trunk/mcs/; revision=44891

26 files changed:
mcs/class/corlib/ChangeLog
mcs/class/corlib/System.Collections/Hashtable.cs
mcs/class/corlib/System.Runtime.CompilerServices/RuntimeHelpers.cs
mcs/class/corlib/System.Runtime.ConstrainedExecution/CER.cs
mcs/class/corlib/System.Runtime.ConstrainedExecution/Consistency.cs
mcs/class/corlib/System.Runtime.ConstrainedExecution/CriticialFinalizerObject.cs
mcs/class/corlib/System.Runtime.ConstrainedExecution/PrePrepareMethodAttribute.cs
mcs/class/corlib/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute.cs
mcs/class/corlib/System.Runtime.InteropServices/CriticalHandle.cs
mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs
mcs/class/corlib/System.Threading/CompressedStackSwitcher.cs
mcs/class/corlib/System.Threading/ExecutionContextSwitcher.cs
mcs/class/corlib/System.Threading/HostExecutionContextManager.cs
mcs/class/corlib/System.Threading/HostExecutionContextSwitcher.cs
mcs/class/corlib/System.Threading/Interlocked.cs
mcs/class/corlib/System.Threading/Monitor.cs
mcs/class/corlib/System.Threading/SynchronizationContext.cs
mcs/class/corlib/System.Threading/SynchronizationContextSwitcher.cs
mcs/class/corlib/System.Threading/Thread.cs
mcs/class/corlib/System/Array.cs
mcs/class/corlib/System/Decimal.cs
mcs/class/corlib/System/Double.cs
mcs/class/corlib/System/GC.cs
mcs/class/corlib/System/IntPtr.cs
mcs/class/corlib/System/Math.cs
mcs/class/corlib/System/Single.cs

index b392edc3fd6f36af6a17bd3ed0da9dbfd07ec3e5..ca4868dd7ff37c1d029a134550f292fc794c69e9 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * corlib.dll.sources: Renamed CER to Cer to match 2.0 beta2.
+
 2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>
 
        * corlib_test.dll.sources: Added new CAS tests for System.IO.Stream.
index af5c4d29fed55996652e9044df85203ce44d55be..1290bbf111a5eb2559eafbe6536e41bc12ae097d 100644 (file)
@@ -375,7 +375,7 @@ namespace System.Collections {
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public virtual void Clear ()
                {
@@ -400,7 +400,7 @@ namespace System.Collections {
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public virtual void Remove (Object key)
                {
index 0ee4fa253a66205d19be6102020a6f407fec1707..78e89926fe10ee67d849e465cfd76bbf5a61cedf 100644 (file)
@@ -86,7 +86,7 @@ namespace System.Runtime.CompilerServices
 
 #if NET_2_0
                [MonoTODO]
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
                public static void PrepareConstrainedRegions () {
                        throw new NotImplementedException ();
                }
index 7470c114c0af9ca59b2a6fa798b76ba4f924d048..a4a7511857d4d3b23ad8ba0962c97e4ec65dd60e 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 
 #if NET_2_0
 
-using System.Runtime.InteropServices;
+namespace System.Runtime.ConstrainedExecution {
 
-namespace System.Runtime.ConstrainedExecution
-{
        [Serializable]
-       [ComVisible (false)]
-        public enum CER
-        {
-                MayFail = 1,
-                None = 0, 
-                Success = 2
+        public enum Cer {
+                None,
+                MayFail,
+                Success
         }
 }
 #endif
index 2469b52757faf57718033e85c97c8dd9c71f61aa..75f255a44237288d584b9758c9704b9527bb4cfc 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 
 #if NET_2_0
 
-using System.Runtime.InteropServices;
+namespace System.Runtime.ConstrainedExecution {
 
-namespace System.Runtime.ConstrainedExecution
-{
        [Serializable]
-       [ComVisible (false)]
-        public enum Consistency
-        {
+        public enum Consistency {
                 MayCorruptAppDomain = 1,
                 MayCorruptInstance = 2, 
                 MayCorruptProcess = 0,
index 7d4c8fd6f1596ed1908cad78e054755345fc859c..bf795044f891da924dd482dfa12f756635b51d5a 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 
 #if NET_2_0
+
+using System.Runtime.InteropServices;
+
 namespace System.Runtime.ConstrainedExecution
 {
+       [ComVisible (false)]
         public abstract class CriticalFinalizerObject
         {
                 protected CriticalFinalizerObject ()
                 {
                 }
 
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.Success)]
                ~CriticalFinalizerObject ()
                {
                }
index 2a0f5f8f0ebca3cfc94b5fed0ab06f613f1c5665..3bc1697162d9005ba4f33be54d0e1ace0c9898d1 100644 (file)
 
 #if NET_2_0
 
-using System.Runtime.InteropServices;
-
 namespace System.Runtime.ConstrainedExecution
 {
        [AttributeUsage ((AttributeTargets.Constructor | AttributeTargets.Method), Inherited=false)]
-       [ComVisible (false)]
         public sealed class PrePrepareMethodAttribute : Attribute
         {
                 public PrePrepareMethodAttribute ()
index 833526234b59d20198f9c537e6b3aa639bace0ae..998549b2b18c639293b429e0afc06a092a2735d3 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 
 #if NET_2_0
 
-using System.Runtime.InteropServices;
-
 namespace System.Runtime.ConstrainedExecution
 {
        [AttributeUsage ((AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct |
                AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Interface), Inherited=false)]
-       [ComVisible (false)]
         public sealed class ReliabilityContractAttribute : Attribute
         {
                 Consistency consistency;
-                CER cer;
+                Cer cer;
                 
                 public ReliabilityContractAttribute ()
                 {
                 }
 
-                public ReliabilityContractAttribute (Consistency consistency, CER cer)
+                public ReliabilityContractAttribute (Consistency consistency, Cer cer)
                 {
                         this.consistency = consistency;
                         this.cer = cer;
                 }
 
-                public CER CER {
+                public Cer Cer {
                         get { return cer; }
                        set { cer = value; }
                 }
index d73b15e5554b60ed7c8c5973caa293a2ef5a42d1..2f2574b3ae321057f4190fd732bc41c651038c5f 100644 (file)
@@ -23,19 +23,19 @@ namespace System.Runtime.InteropServices
                        handle = invalidHandleValue;
                }
 
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.Success)]
                ~CriticalHandle ()
                {
                        Dispose ();
                }
 
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.Success)]
                public void Close ()
                {
                        Dispose ();
                }
 
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.Success)]
                public void Dispose ()
                {
                        if (_disposed)
@@ -52,30 +52,30 @@ namespace System.Runtime.InteropServices
                        }
                }
 
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.Success)]
                protected abstract bool ReleaseHandle ();
 
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.Success)]
                protected void SetHandle (IntPtr handle)
                {
                        this.handle = handle;
                }
 
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.Success)]
                public void SetHandleAsInvalid()
                {
                        _disposed = true;
                }
 
                public bool IsClosed {
-                       [ReliabilityContract (Consistency.WillNotCorruptState, CER.Success)]
+                       [ReliabilityContract (Consistency.WillNotCorruptState, Cer.Success)]
                        get { return _disposed; }
                }
 
                public abstract bool IsInvalid {
-                       [ReliabilityContract (Consistency.WillNotCorruptState, CER.Success)]
+                       [ReliabilityContract (Consistency.WillNotCorruptState, Cer.Success)]
                        get;
                }
        }
 }
-#endif
\ No newline at end of file
+#endif
index 71f7c1eeee02a4df1b19b17068d1ebe9c0f66041..62d493d85c073a6085e0f5859100fce794ba93f0 100644 (file)
@@ -472,20 +472,20 @@ namespace System.Runtime.InteropServices
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static int ReadInt32 (IntPtr ptr) {
                        return ReadInt32 (ptr, 0);
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static int ReadInt32 (IntPtr ptr, int ofs);
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MonoTODO]
                public static int ReadInt32 ([In, MarshalAs(UnmanagedType.AsAny)] object ptr, int ofs) {
@@ -493,20 +493,20 @@ namespace System.Runtime.InteropServices
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static long ReadInt64 (IntPtr ptr) {
                        return ReadInt64 (ptr, 0);
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static long ReadInt64 (IntPtr ptr, int ofs);
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MonoTODO]
                public static long ReadInt64 ([In, MarshalAs (UnmanagedType.AsAny)] object ptr, int ofs) {
@@ -514,20 +514,20 @@ namespace System.Runtime.InteropServices
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static IntPtr ReadIntPtr (IntPtr ptr) {
                        return ReadIntPtr (ptr, 0);
                }
                
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static IntPtr ReadIntPtr (IntPtr ptr, int ofs);
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MonoTODO]
                public static IntPtr ReadIntPtr ([In, MarshalAs (UnmanagedType.AsAny)] object ptr, int ofs) {
@@ -543,7 +543,7 @@ namespace System.Runtime.InteropServices
                public extern static IntPtr ReAllocHGlobal (IntPtr pv, IntPtr cb);
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MonoTODO]
                public static int Release (IntPtr pUnk) {
@@ -647,7 +647,7 @@ namespace System.Runtime.InteropServices
 #endif
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static void StructureToPtr (object structure, IntPtr ptr, bool fDeleteOld);
index 5641756a89c688b5ed095fb78fd3ec9902ad12ee..e82f0e4f5f017a218b0e97eff59778a4e7eacd81 100644 (file)
@@ -65,7 +65,7 @@ namespace System.Threading {
                        // (even between executions).
                }
 
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
                public void Undo ()
                {
                        if ((_cs != null) && (_t != null)) {
index ea3a1faabec063e6b536624e4f96067507199f19..a158bc6d0b48516594b7ff8d8b2a11a35ad3ce60 100644 (file)
@@ -63,7 +63,7 @@ namespace System.Threading
                }
                
                [MonoTODO]
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
                public void Undo ()
                {
                        throw new NotImplementedException ();
index 96509edc791d17269ec683ed14bf97c28b3200b1..897024e5ce7104f1dedff5b056072f064e20e048 100644 (file)
@@ -46,7 +46,7 @@ namespace System.Threading {
                }
 
                [MonoTODO]
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
                public virtual void Revert (object previousState)
                {
                        throw new NotImplementedException ();
index fe3ada9384c2349c0f05a3d83ac138f7a6a2d425..c29fcfbe63aba29b2f30a77fc70b114870820441 100644 (file)
@@ -49,7 +49,7 @@ namespace System.Threading {
                }
 
                [MonoTODO]
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
                public void Undo ()
                {
                }
index 47a9ae19800a830e13c1779ed5ad166e4e55534e..1832a5c011a6cc26a81b47d9188e21aae08ebbd7 100644 (file)
@@ -54,13 +54,13 @@ namespace System.Threading
 #endif
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static int CompareExchange(ref int location1, int value, int comparand);
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static object CompareExchange(ref object location1, object value, object comparand);
@@ -69,7 +69,7 @@ namespace System.Threading
                public extern static float CompareExchange(ref float location1, float value, float comparand);
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static int Decrement(ref int location);
@@ -78,7 +78,7 @@ namespace System.Threading
                public extern static long Decrement(ref long location);
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static int Increment(ref int location);
@@ -87,13 +87,13 @@ namespace System.Threading
                public extern static long Increment(ref long location);
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static int Exchange(ref int location1, int value);
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static object Exchange(ref object location1, object value);
@@ -105,7 +105,7 @@ namespace System.Threading
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static long CompareExchange(ref long location1, long value, long comparand);
 
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static IntPtr CompareExchange(ref IntPtr location1, IntPtr value, IntPtr comparand);
 
@@ -115,7 +115,7 @@ namespace System.Threading
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static long Exchange(ref long location1, long value);
 
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static IntPtr Exchange(ref IntPtr location1, IntPtr value);
 
@@ -125,7 +125,7 @@ namespace System.Threading
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static long Read(ref long location1);
 
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]           
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]           
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public extern static int Add(ref int location1, int add);
 
index 84836b6b9cc613e4510f25424fbde0831c2a5b23..de8706a9b50ec710b35e132d5ce05908286fc3cd 100644 (file)
@@ -50,7 +50,7 @@ namespace System.Threading
                private extern static bool Monitor_try_enter(object obj, int ms);
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                public static void Enter(object obj) {
                        if(obj==null) {
@@ -68,7 +68,7 @@ namespace System.Threading
                private extern static void Monitor_exit(object obj);
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                public static void Exit(object obj) {
                        if(obj==null) {
index 0e81381e781df1c411d99c3542f7cce727b1022f..8dd2260a5a64aefbed83951ed1c797103b573d59 100644 (file)
@@ -95,7 +95,7 @@ namespace System.Threading
 
                [MonoTODO]
                [CLSCompliant (false)]
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
                protected static int WaitHelper (IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout)
                {
                        throw new NotImplementedException ();
index 4d14c76d8b8f4e5d28551da746990f7d3462a31d..67b122c3bab31e7f42268dba2cd1c7ffc0054f9a 100644 (file)
@@ -63,7 +63,7 @@ namespace System.Threading
                }
                
                [MonoTODO]
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
                public void Undo ()
                {
                        throw new NotImplementedException ();
index a0af3b2a00e4dd3e85ae1c1aaf1216b2bc46aa10..6041cbb936244ddd3f587eadfd9041198626908d 100644 (file)
@@ -141,7 +141,7 @@ namespace System.Threading
                
                public static Thread CurrentThread {
 #if NET_2_0
-                       [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+                       [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                        get {
                                return(CurrentThread_internal());
@@ -798,7 +798,7 @@ namespace System.Threading
 
                [MonoTODO ("limited to CompressedStack support")]
                public ExecutionContext ExecutionContext {
-                       [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+                       [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
                        get {
                                if (_ec == null)
                                        _ec = new ExecutionContext ();
@@ -811,14 +811,14 @@ namespace System.Threading
                }
 
                [MonoTODO]
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
                public static void BeginCriticalRegion ()
                {
                        throw new NotImplementedException ();
                }
 
                [MonoTODO]
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.Success)]
                public static void EndCriticalRegion ()
                {
                        throw new NotImplementedException ();
index 2dd59c59472279d8677c168555757fa344009c43..2821c3af4deab26778379e75888fd3de5e690e4c 100644 (file)
@@ -58,7 +58,7 @@ namespace System
                // Properties
                public int Length {
 #if NET_2_0
-                       [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+                       [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                        get {
                                int length = this.GetLength (0);
@@ -74,7 +74,7 @@ namespace System
                [ComVisible (false)]
                public long LongLength {
 #if NET_2_0
-                       [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+                       [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                        get { return Length; }
                }
@@ -82,7 +82,7 @@ namespace System
 
                public int Rank {
 #if NET_2_0
-                       [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+                       [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                        get {
                                return this.GetRank ();
@@ -127,7 +127,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                int IList.IndexOf (object value)
                {
@@ -182,7 +182,7 @@ namespace System
 #endif
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
                public extern int GetLowerBound (int dimension);
@@ -244,7 +244,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public int GetUpperBound (int dimension)
                {
@@ -509,7 +509,7 @@ namespace System
 #endif
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif 
                public static int BinarySearch (Array array, object value)
                {
@@ -529,7 +529,7 @@ namespace System
                }
 
 #if NET_2_0
-       [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+       [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                public static int BinarySearch (Array array, object value, IComparer comparer)
                {
@@ -547,7 +547,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                public static int BinarySearch (Array array, int index, int length, object value)
                {
@@ -575,7 +575,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                public static int BinarySearch (Array array, int index, int length, object value, IComparer comparer)
                {
@@ -637,7 +637,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static void Clear (Array array, int index, int length)
                {
@@ -665,7 +665,7 @@ namespace System
                public virtual extern object Clone ();
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
                public static void Copy (Array sourceArray, Array destinationArray, int length)
                {
@@ -682,7 +682,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
                public static void Copy (Array sourceArray, int sourceIndex, Array destinationArray, int destinationIndex, int length)
                {
@@ -756,7 +756,7 @@ namespace System
 
 #if NET_1_1
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
                public static void Copy (Array sourceArray, long sourceIndex, Array destinationArray,
                                         long destinationIndex, long length)
@@ -783,7 +783,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
                public static void Copy (Array sourceArray, Array destinationArray, long length)
                {
@@ -796,7 +796,7 @@ namespace System
 #endif
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                public static int IndexOf (Array array, object value)
                {
@@ -807,7 +807,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                public static int IndexOf (Array array, object value, int startIndex)
                {
@@ -818,7 +818,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                public static int IndexOf (Array array, object value, int startIndex, int count)
                {
@@ -850,7 +850,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                public static int LastIndexOf (Array array, object value)
                {
@@ -861,7 +861,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                public static int LastIndexOf (Array array, object value, int startIndex)
                {
@@ -872,7 +872,7 @@ namespace System
                }
                
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
 #endif
                public static int LastIndexOf (Array array, object value, int startIndex, int count)
                {
@@ -912,7 +912,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
                public static void Reverse (Array array)
                {
@@ -923,7 +923,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
                public static void Reverse (Array array, int index, int length)
                {
@@ -984,7 +984,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
                public static void Sort (Array array)
                {
@@ -995,7 +995,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
                public static void Sort (Array keys, Array items)
                {
@@ -1006,7 +1006,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
                public static void Sort (Array array, IComparer comparer)
                {
@@ -1017,7 +1017,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
                public static void Sort (Array array, int index, int length)
                {
@@ -1025,7 +1025,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
                public static void Sort (Array keys, Array items, IComparer comparer)
                {
@@ -1036,7 +1036,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
                public static void Sort (Array keys, Array items, int index, int length)
                {
@@ -1044,7 +1044,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
                public static void Sort (Array array, int index, int length, IComparer comparer)
                {
@@ -1052,7 +1052,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
 #endif
 
                public static void Sort (Array keys, Array items, int index, int length, IComparer comparer)
@@ -1482,7 +1482,7 @@ namespace System
                        return -1;
                }
                
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
                public static int BinarySearch<T> (T [] array, T value)
                {
                        if (array == null)
@@ -1491,7 +1491,7 @@ namespace System
                        return BinarySearch<T> (array, 0, array.Length, value, null);
                }
                
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
                public static int BinarySearch<T> (T [] array, T value, IComparer<T> comparer)
                {
                        if (array == null)
@@ -1505,7 +1505,7 @@ namespace System
                        return BinarySearch<T> (array, offset, length, value, null);
                }
                
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
                public static int BinarySearch<T> (T [] array, int index, int length, T value, IComparer<T> comparer)
                {
                        if (array == null)
@@ -1682,7 +1682,7 @@ namespace System
                        return default (Nullable <T>);
                }
 
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]           
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]           
                //
                // The constrained copy should guarantee that if there is an exception thrown
                // during the copy, the destination array remains unchanged.
index 87ea1cb0031596836277d4f94905ee83b017a04d..cc9353a111d1ea6bee9d6f893f3c6df74f80bdf0 100644 (file)
@@ -655,7 +655,7 @@ namespace System
         }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
         public static int Compare(Decimal d1, Decimal d2) 
         {
index e617c462d8e1992886d6cc2c21baa6834e55d065..7cfbab954130ac2fff42cd4d4b0d35c174f91fd0 100644 (file)
@@ -158,7 +158,7 @@ namespace System {
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static bool IsNaN (double d)
                {
index c9bf3bf3c98da341c94437070b055d039d0cc181..be719173bab94d19a442950fe91bd735d71b812c 100644 (file)
@@ -95,7 +95,7 @@ namespace System
                public extern static void ReRegisterForFinalize (object obj);
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
                public extern static void SuppressFinalize (object obj);
index fa03f7d65818fca50e9daf0a9d43206a9bcbe26d..ac7a77780f66250373045181f5b1e8726bd13844 100644 (file)
@@ -113,7 +113,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public int ToInt32 ()
                {
@@ -121,7 +121,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public long ToInt64 ()
                {
@@ -143,7 +143,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static bool operator == (IntPtr a, IntPtr b)
                {
@@ -151,7 +151,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static bool operator != (IntPtr a, IntPtr b)
                {
@@ -159,7 +159,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static explicit operator IntPtr (int value)
                {
@@ -167,7 +167,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static explicit operator IntPtr (long value)
                {
@@ -175,7 +175,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif         
                [CLSCompliant (false)]
                unsafe public static explicit operator IntPtr (void *value)
index 5e6aac326f7489e2e62d8a376c507f8e25aa6820..e9ac0b5160ca57a862919a55f56e9caa0bd0af6e 100644 (file)
@@ -144,7 +144,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static byte Max (byte val1, byte val2)
                {
@@ -152,7 +152,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static decimal Max (decimal val1, decimal val2)
                {
@@ -160,7 +160,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static double Max (double val1, double val2)
                {
@@ -171,7 +171,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static float Max (float val1, float val2)
                {
@@ -182,7 +182,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static int Max (int val1, int val2)
                {
@@ -190,7 +190,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static long Max (long val1, long val2)
                {
@@ -198,7 +198,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [CLSCompliant (false)]
                public static sbyte Max (sbyte val1, sbyte val2)
@@ -207,7 +207,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static short Max (short val1, short val2)
                {
@@ -215,7 +215,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [CLSCompliant (false)]
                public static uint Max (uint val1, uint val2)
@@ -224,7 +224,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [CLSCompliant (false)]
                public static ulong Max (ulong val1, ulong val2)
@@ -233,7 +233,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [CLSCompliant (false)]
                public static ushort Max (ushort val1, ushort val2)
@@ -242,7 +242,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static byte Min (byte val1, byte val2)
                {
@@ -250,7 +250,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static decimal Min (decimal val1, decimal val2)
                {
@@ -258,7 +258,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static double Min (double val1, double val2)
                {
@@ -269,7 +269,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static float Min (float val1, float val2)
                {
@@ -280,7 +280,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static int Min (int val1, int val2)
                {
@@ -288,7 +288,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static long Min (long val1, long val2)
                {
@@ -296,7 +296,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [CLSCompliant (false)]
                public static sbyte Min (sbyte val1, sbyte val2)
@@ -305,7 +305,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static short Min (short val1, short val2)
                {
@@ -313,7 +313,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [CLSCompliant (false)]
                public static uint Min (uint val1, uint val2)
@@ -322,7 +322,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [CLSCompliant (false)]
                public static ulong Min (ulong val1, ulong val2)
@@ -331,7 +331,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                [CLSCompliant (false)]
                public static ushort Min (ushort val1, ushort val2)
index bc1f20b5f248e0ed9deee47460d4bb63c79dc123..827f6b6b93c6b7f5577868c2f34b33936de57a22 100644 (file)
@@ -151,7 +151,7 @@ namespace System
                }
 
 #if NET_2_0
-               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+               [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
 #endif
                public static bool IsNaN (float f)
                {