Merge pull request #1513 from akoeplinger/remove-net20-ifdefs
[mono.git] / mcs / class / corlib / Test / System / ConvertTest.cs
index caee51fd3cbd346522ff4c8bbd5cf26ee8a2fe8c..c97a0a31b7e8efef77818a2016c941aecbb73fcb 100644 (file)
@@ -797,11 +797,7 @@ namespace MonoTests.System {
                                Assert.Fail ();
                        }
                        catch (Exception e) {
-#if NET_2_0
                                Assert.AreEqual (typeof(FormatException), e.GetType(), "#G28");
-#else
-                               Assert.AreEqual (typeof(ArgumentOutOfRangeException), e.GetType(), "#G28");
-#endif
                        }
 
                        try {