svn path=/branches/mono-1-1-9/mcs/; revision=50438
[mono.git] / mcs / class / System.Drawing / System.Drawing / Point.cs
index ecdaeff4e6df3f9ecdfd07f6ce1d85d7780bcc48..9a9083cc285337b7ee2aa5fcfd09e482a3d0a128 100644 (file)
@@ -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));
                }
 
        }