* corlib.dll.sources: Renamed CER to Cer to match 2.0 beta2.
svn path=/trunk/mcs/; revision=44891
+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.
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public virtual void Clear ()
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public virtual void Remove (Object key)
{
#if NET_2_0
[MonoTODO]
- [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+ [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
public static void PrepareConstrainedRegions () {
throw new NotImplementedException ();
}
// 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
// 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,
// 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 ()
{
}
#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 ()
// 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; }
}
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)
}
}
- [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
}
#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) {
}
#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) {
}
#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) {
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) {
#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);
// (even between executions).
}
- [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+ [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
public void Undo ()
{
if ((_cs != null) && (_t != null)) {
}
[MonoTODO]
- [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+ [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
public void Undo ()
{
throw new NotImplementedException ();
}
[MonoTODO]
- [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+ [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
public virtual void Revert (object previousState)
{
throw new NotImplementedException ();
}
[MonoTODO]
- [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+ [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
public void Undo ()
{
}
#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);
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);
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);
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);
[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);
[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);
[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);
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) {
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) {
[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 ();
}
[MonoTODO]
- [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+ [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
public void Undo ()
{
throw new NotImplementedException ();
public static Thread CurrentThread {
#if NET_2_0
- [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+ [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
#endif
get {
return(CurrentThread_internal());
[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 ();
}
[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 ();
// 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);
[ComVisible (false)]
public long LongLength {
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
get { return Length; }
}
public int Rank {
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
get {
return this.GetRank ();
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
#endif
int IList.IndexOf (object value)
{
#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);
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public int GetUpperBound (int dimension)
{
#endif
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
#endif
public static int BinarySearch (Array array, object value)
{
}
#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)
{
}
#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)
{
}
#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)
{
}
#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)
{
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)
{
}
#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)
{
#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)
}
#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)
{
#endif
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
#endif
public static int IndexOf (Array array, object value)
{
}
#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)
{
}
#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)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
#endif
public static int LastIndexOf (Array array, object value)
{
}
#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)
{
}
#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)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+ [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
#endif
public static void Reverse (Array array)
{
}
#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)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+ [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
#endif
public static void Sort (Array array)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+ [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
#endif
public static void Sort (Array keys, Array items)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.MayCorruptInstance, CER.MayFail)]
+ [ReliabilityContractAttribute (Consistency.MayCorruptInstance, Cer.MayFail)]
#endif
public static void Sort (Array array, IComparer comparer)
{
}
#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)
{
}
#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)
{
}
#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)
{
}
#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)
{
}
#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)
return -1;
}
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.MayFail)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.MayFail)]
public static int BinarySearch<T> (T [] array, T value)
{
if (array == null)
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)
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)
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.
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static int Compare(Decimal d1, Decimal d2)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static bool IsNaN (double d)
{
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);
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public int ToInt32 ()
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public long ToInt64 ()
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static bool operator == (IntPtr a, IntPtr b)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static bool operator != (IntPtr a, IntPtr b)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static explicit operator IntPtr (int value)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static explicit operator IntPtr (long value)
{
}
#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)
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static byte Max (byte val1, byte val2)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static decimal Max (decimal val1, decimal val2)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static double Max (double val1, double val2)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static float Max (float val1, float val2)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static int Max (int val1, int val2)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static long Max (long val1, long val2)
{
}
#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)
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static short Max (short val1, short val2)
{
}
#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)
}
#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)
}
#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)
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static byte Min (byte val1, byte val2)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static decimal Min (decimal val1, decimal val2)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static double Min (double val1, double val2)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static float Min (float val1, float val2)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static int Min (int val1, int val2)
{
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static long Min (long val1, long val2)
{
}
#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)
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static short Min (short val1, short val2)
{
}
#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)
}
#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)
}
#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)
}
#if NET_2_0
- [ReliabilityContractAttribute (Consistency.WillNotCorruptState, CER.Success)]
+ [ReliabilityContractAttribute (Consistency.WillNotCorruptState, Cer.Success)]
#endif
public static bool IsNaN (float f)
{