[Mono-devel-list] System.Drawing.RectangleF

Miguel de Icaza miguel at ximian.com
Wed Jul 27 02:15:37 EDT 2005


> I'm wondering, what was the reason of changing RectangleF.IsEmpty in
> revision 45642? Before this change, mono behaved same as dotnet, why it
> was necessary to change this behaviour? Now there is test in
> TestRectangleF.cs that fails on dotnet, because it expects RectangleF
> (25, 25, 0, 0) to return IsEmpty == false, while on dotnet it returns
> true.

I agree, this change seems wrong and it did not include a unit test as
part of the commit which is even more suspicious.

I think we should back this out.


More information about the Mono-devel-list mailing list