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
/
VectorValueSerializer.cs
diff --git
a/mcs/class/WindowsBase/System.Windows.Converters/VectorValueSerializer.cs
b/mcs/class/WindowsBase/System.Windows.Converters/VectorValueSerializer.cs
index 376e4dc21ce77549e45bfb427bee97ff7726ab24..6ec7ae6f5899c86be5ff97dd25a8c39516fb61fb 100644
(file)
--- a/
mcs/class/WindowsBase/System.Windows.Converters/VectorValueSerializer.cs
+++ b/
mcs/class/WindowsBase/System.Windows.Converters/VectorValueSerializer.cs
@@
-43,7
+43,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 Vector.Parse (value);
}