Update PointConverter.cs
authorDavid Karlaš <david.karlas@gmail.com>
Tue, 3 Dec 2013 05:48:03 +0000 (06:48 +0100)
committerDavid Karlaš <david.karlas@gmail.com>
Tue, 3 Dec 2013 05:48:03 +0000 (06:48 +0100)
mcs/class/WindowsBase/System.Windows/PointConverter.cs

index 7391bae68515cfdf56e75560721b8271f1678080..eef6c529dafd379f04583c3fc70b432a6b374f4a 100644 (file)
@@ -44,7 +44,7 @@ namespace System.Windows {
                public override object ConvertFrom (ITypeDescriptorContext context, CultureInfo culture, object value)
                {
                        if (!(value is string))
-                               throw new NotSupportedException ("RectConverter only supports converting from strings");
+                               throw new NotSupportedException ("PointConverter only supports converting from strings");
 
                        return Point.Parse ((string)value);
                }