[Mono-devel-list] Some love to SortedList

Paolo Molaro lupus at ximian.com
Thu Jun 12 06:26:32 EDT 2003


On 06/11/03 Duncan Mak wrote:
> -				if (value > current) {
> +                                if (value == Int32.MaxValue)
> +                                        throw new OutOfMemoryException ();

Ugh, no, this is wrong. It's not the class library business to guess
when the system is out of memory or not. We need to handle this in the
runtime.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list