> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Kornél Pál > Sent: maandag 15 augustus 2005 15:33 > To: Andrew Skiba; Gert Driesen <[EMAIL PROTECTED]> > Cc: mono-devel-list@lists.ximian.com > Subject: Re: [Mono-dev] RE: > [Mono-patches]r48372-trunk/mcs/class/System.Drawing/System.Drawing > > I've created a test. Attached as PointCultureTest.cs. > > The following are results on .NET Framework 1.1 SP1: > > Has to be: {X=-2,Y=-8} > en-US: {X=-2,Y=-8} > With CultureInfo.InvariantCulture: {X=-2,Y=-8} > With CultureInfo.CurrentCulture: > {X=myNegativeSign2,Y=myNegativeSign8} > MyCultureInfo: > {X=myNegativeSign2,Y=myNegativeSign8} > > This shows that System.Drawing.Point.ToString() is using > CultureInfo.CurrentCulture (the default, when no format > provider specified) > and not CultureInfo.InvariantCulture that was assumed by Gert. > > I think this patch should be reverted.
You're correct. Our test cases were actual wrong. I'm fixing both right now. Gert _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list