diff options
Diffstat (limited to 'mcs/class/System.Data/Test/System.Data.SqlTypes/SqlInt16Test.cs')
-rw-r--r-- | mcs/class/System.Data/Test/System.Data.SqlTypes/SqlInt16Test.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mcs/class/System.Data/Test/System.Data.SqlTypes/SqlInt16Test.cs b/mcs/class/System.Data/Test/System.Data.SqlTypes/SqlInt16Test.cs index ee3817830d9..7d37fc6338a 100644 --- a/mcs/class/System.Data/Test/System.Data.SqlTypes/SqlInt16Test.cs +++ b/mcs/class/System.Data/Test/System.Data.SqlTypes/SqlInt16Test.cs @@ -35,10 +35,8 @@ using NUnit.Framework; using System; using System.Xml; using System.Data.SqlTypes; -#if NET_2_0 using System.Xml.Serialization; using System.IO; -#endif namespace MonoTests.System.Data.SqlTypes { @@ -135,11 +133,9 @@ namespace MonoTests.System.Data.SqlTypes Assert.AreEqual (typeof (OverflowException), e.GetType (), "Test#19"); } -#if NET_2_0 // Modulus () Assert.AreEqual ((SqlInt16)36, SqlInt16.Modulus (Test164, Test64), "Test#20"); Assert.AreEqual ((SqlInt16)64, SqlInt16.Modulus (Test64, Test164), "Test#21"); -#endif } [Test] @@ -695,7 +691,6 @@ namespace MonoTests.System.Data.SqlTypes short TestShort = 14; Assert.AreEqual ((short) 14, ((SqlInt16) TestShort).Value, "Test#1"); } -#if NET_2_0 [Test] public void GetXsdTypeTest () { @@ -751,6 +746,5 @@ namespace MonoTests.System.Data.SqlTypes Assert.AreEqual (typeof (FormatException), e.GetType (), "#BA03"); } } -#endif } } |