[Mono-dev] Fix in ImageFormat.cs from 2005-10-31
Kornél Pál
kornelpal at hotmail.com
Sun Nov 13 11:57:46 EST 2005
Hi,
I looked at that method and saw that some formats were missing so I fixed
the bug, added missing formats and added a test case for ToString to avoid
regressions.
Kornél
----- Original Message -----
From: "Konstantin Triger" <kostat at mainsoft.com>
To: <jordi at ximian.com>
Cc: <mono-devel-list at lists.ximian.com>
Sent: Sunday, November 13, 2005 4:47 PM
Subject: [Mono-dev] Fix in ImageFormat.cs from 2005-10-31
Hello Jordi,
You changed the ToString method to compare Guid with the ImageFormat
instances...
This makes this code
ImageFormat f = ImageFormat.Gif;
Console.WriteLine(f.ToString());
return;
To return
'[ImageFormat: b96b3cb0-0728-11d3-9d7b-0000f81ef32e]'
Instead of 'Gif';
Can you please fix it or would you like I'll do it?
Regards,
Kosta
--------------------------------------------------------------------------------
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
More information about the Mono-devel-list
mailing list