[Mono-dev] [PATCH] Minor fix for Enum.Format

Gonzalo Paniagua Javier gonzalo at novell.com
Sat Oct 7 12:39:55 EDT 2006

On Sat, 2006-10-07 at 18:01 +0200, Gert Driesen wrote:
> Hi,
> The attached patch reports a different exception depending on whether
> the type of the passed in value is an Enum or not. This is clearly
> documented in the .NET Framework SDK and verified by improved unit tests
> (see patch).
> The patch also avoids looking up the underlying type of enum twice, when
> the format specifier is "D" or "d".
> Let me know if it's ok to commit.

Please, commit.



More information about the Mono-devel-list mailing list