http://bugzilla.novell.com/show_bug.cgi?id=593628

http://bugzilla.novell.com/show_bug.cgi?id=593628#c4


--- Comment #4 from Miguel de Icaza <[email protected]> 2010-04-05 00:35:22 UTC 
---
Created an attachment (id=352363)
 --> (http://bugzilla.novell.com/attachment.cgi?id=352363)
Sum and Average patch

Sum and Average patches, this also includes a fix for Average<long> versions,
we need to use checked (...) in these cases to catch this:

long [] x = new long [] { Int64.MaxValue, Int64.MaxValue };
x.Average ();

The above needs to throw an overflow exception with Int64's (with Int32, this
is not the case).

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to