[Mono-devel-list] PATCH : Some generics IComparable implementations

Martin Baulig martin at ximian.com
Tue Jul 20 02:50:06 EDT 2004


On Sun, 2004-07-18 at 19:29 -0400, Ewen Cheslack-Postava wrote:

> I decided to try doing some work on generic classes and to start out I
> implemented some of the missing IComparable<T>'s in the corlib. 
> Specifically, I implemented the interface for Boolean, DateTime,
> Double, Single, TimeSpan, and Version.  The diff is attached, I would
> appreciate it if you could review it.

Hello,

your patch looks good, but unfortunately I already implemented this
myself last week.  There was a bug report open in bugzilla for a very
long time and since nobody volunteered to do it, I finally implemented
it myself.

I saw that you also implemented it for non-fundamental types like
TimeSpan and Version.  At the moment, I'm not sure whether this'll be
added to the standard or not (I asked and am waiting for a reply) - if
it will be added, not all your work was in vain :-)

http://bugzilla.ximian.com/show_bug.cgi?id=58306

Martin





More information about the Mono-devel-list mailing list