X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Drawing%2FSystem.Drawing%2FPoint.cs;h=9a9083cc285337b7ee2aa5fcfd09e482a3d0a128;hb=21d1fdc48703514b1164ea2a76fc3bbf3d40871f;hp=ecdaeff4e6df3f9ecdfd07f6ce1d85d7780bcc48;hpb=234225d112c4b018b8d1796f4c06a15812137500;p=mono.git diff --git a/mcs/class/System.Drawing/System.Drawing/Point.cs b/mcs/class/System.Drawing/System.Drawing/Point.cs index ecdaeff4e6d..9a9083cc285 100644 --- a/mcs/class/System.Drawing/System.Drawing/Point.cs +++ b/mcs/class/System.Drawing/System.Drawing/Point.cs @@ -32,6 +32,7 @@ // using System; +using System.Globalization; using System.Runtime.InteropServices; using System.ComponentModel; @@ -362,7 +363,8 @@ namespace System.Drawing public override string ToString () { - return String.Format ("{{X={0}, Y={1}}}", x, y); + return string.Format ("{{X={0},Y={1}}}", x.ToString (CultureInfo.InvariantCulture), + y.ToString (CultureInfo.InvariantCulture)); } }