[bcl] Remove more NET_2_0 checks from class libs
[mono.git] / mcs / class / corlib / Test / System.Security.Cryptography / TripleDESTest.cs
index f07e4d51f2268096f3e35034a6a92e5c9a7335ca..b80282976be611c9efa3af3ff69cfc84bb3ef11c 100644 (file)
@@ -128,11 +128,7 @@ namespace MonoTests.System.Security.Cryptography {
                }
 
                [Test]
-#if NET_2_0
                [ExpectedException (typeof (CryptographicException))]
-#else
-               [ExpectedException (typeof (NullReferenceException))]
-#endif
                public void IsSemiWeakKey_Null () 
                {
                        TripleDES.IsWeakKey (null);