[Mono-dev] Review of overflow code.

Miguel de Icaza miguel at ximian.com
Wed May 30 19:31:08 EDT 2007


Hello folks,

    Chris Howie found out that we were throwing exceptions from the
various TryParse methods in 2.0 in the integer parsing methods:

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

    I attached some code that tries to catch overflow without using the
"checked" expression and try/catch exceptions but am not sure if this is
correct, I would appreciate if someone reviewed by code and my
assumptions:

	http://bugzilla.ximian.com/showattachment.cgi?attach_id=19351

Miguel.



More information about the Mono-devel-list mailing list