[Mono-devel-list] Some patches for Collection

Miguel de Icaza miguel at ximian.com
Thu Feb 17 17:41:04 EST 2005


> The key point here is that while it is true that code that depends on a
> particular order has design problems, mono needs to match the Microsoft
> runtime's behaviour. The Microsoft runtime's behaviour is to call .Equals
> repeatedly on the object passed to IndexOf(), not to call it separately on
> each object in the collection.
> "If mono's behaviour is different than the Microsoft runtime's behaviour,
> then it is a bug in mono." As much as you may dislike the patches, this
> describes this situation.

I agree with this.   The user code should probably also be fixed, as it
will only uncover an error elsewhere at some point.


More information about the Mono-devel-list mailing list