projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WindowsBase] Fix exception type in *ValueSerializer.ConvertFromString with null...
[mono.git]
/
mcs
/
class
/
WindowsBase
/
System.Windows.Converters
/
RectValueSerializer.cs
diff --git
a/mcs/class/WindowsBase/System.Windows.Converters/RectValueSerializer.cs
b/mcs/class/WindowsBase/System.Windows.Converters/RectValueSerializer.cs
index 24b4c3d60bc97f5b52cd0abba15acd759eaaffab..623c0d688bb1ad969dabf21ff18341ca01456f34 100644
(file)
--- a/
mcs/class/WindowsBase/System.Windows.Converters/RectValueSerializer.cs
+++ b/
mcs/class/WindowsBase/System.Windows.Converters/RectValueSerializer.cs
@@
-42,7
+42,7
@@
namespace System.Windows.Converters {
public override object ConvertFromString (string value, IValueSerializerContext context)
{
if (value == null)
- throw new
ArgumentNullException ("value
");
+ throw new
NotSupportedException ("value != null
");
return Rect.Parse (value);
}