[WindowsBase] Fix exception type in *ValueSerializer.ConvertFromString with null...
[mono.git] / mcs / class / WindowsBase / Test / System.Windows / RectValueSerializerTest.cs
index 41d6d83e9b5d4ffd4202505483cea504fb5413b1..3a549c3d12171eea977d6eebd47c0f5a28c13de8 100644 (file)
@@ -50,7 +50,7 @@ namespace MonoTests.System.Windows {
                }
 
                [Test]
-               [ExpectedException (typeof (ArgumentNullException))]
+               [ExpectedException (typeof (NotSupportedException))]
                public void ConvertFromStringShouldThrowExceptionWhenStringIsNull ()
                {
                        var serializer = new RectValueSerializer ();