Moved TestConfiguration.cs to Npgsql.
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / CriticalHandle.cs
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