From 196156ce9c7c11b24c6d1c086a9dba1f795cc655 Mon Sep 17 00:00:00 2001 From: jbevain Date: Mon, 21 Jun 2010 12:23:47 +0000 Subject: [PATCH] 2010-06-21 Jb Evain * Array.cs: implement IStructuralComparable and IStructuralEquatable on moonlight as well. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@159248 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- class/corlib/System/Array.cs | 4 ++-- class/corlib/System/ChangeLog | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/class/corlib/System/Array.cs b/class/corlib/System/Array.cs index dc68d3baae..9ce7b6142e 100644 --- a/class/corlib/System/Array.cs +++ b/class/corlib/System/Array.cs @@ -45,7 +45,7 @@ namespace System [ComVisible (true)] // FIXME: We are doing way to many double/triple exception checks for the overloaded functions" public abstract class Array : ICloneable, ICollection, IList, IEnumerable -#if NET_4_0 +#if NET_4_0 || MOONLIGHT , IStructuralComparable, IStructuralEquatable #endif { @@ -434,7 +434,7 @@ namespace System return new SimpleEnumerator (this); } -#if NET_4_0 +#if NET_4_0 || MOONLIGHT int IStructuralComparable.CompareTo (object other, IComparer comparer) { if (other == null) diff --git a/class/corlib/System/ChangeLog b/class/corlib/System/ChangeLog index a9983db6e3..b991ca36f1 100644 --- a/class/corlib/System/ChangeLog +++ b/class/corlib/System/ChangeLog @@ -1,3 +1,8 @@ +2010-06-21 Jb Evain + + * Array.cs: implement IStructuralComparable and IStructuralEquatable + on moonlight as well. + 2010-06-16 Miguel de Icaza * Random.cs: Do not call Math.Abs blindly when we get an int -- 2.11.4.GIT