Merge pull request #1909 from esdrubal/reflection
[mono.git] / mcs / class / System / Test / System.ComponentModel / SByteConverterTests.cs
index a4539dfcaca1aecb244b8ef4bd3739808395b6da..f4c7ba6579f7ff87403916f3072a0690d10b2fd2 100644 (file)
@@ -41,6 +41,7 @@ namespace MonoTests.System.ComponentModel
                {
                        Assert.IsTrue (converter.CanConvertTo (typeof (string)), "#1");
                        Assert.IsFalse (converter.CanConvertTo (typeof (object)), "#2");
+                       Assert.IsTrue (converter.CanConvertTo (typeof (int)), "#3");
                }
 
                [Test]
@@ -265,7 +266,6 @@ namespace MonoTests.System.ComponentModel
                                }
                        }
 
-#if NET_2_0
 // adding this override in 1.x shows different result in .NET (it is ignored).
 // Some compatibility kids might want to fix this issue.
                        public override NumberFormatInfo NumberFormat {
@@ -276,7 +276,6 @@ namespace MonoTests.System.ComponentModel
                                }
                                set { throw new NotSupportedException (); }
                        }
-#endif
                }
        }
 }