[bcl] Remove more NET_2_0 checks from class libs
[mono.git] / mcs / class / System / Test / System.Text.RegularExpressions / RegexCompilationInfoTest.cs
index 063a6608953011fb091cd37ccc58126af0300ee2..339ffc4a51469c2521bc669b0ad525fcdc07d57d 100644 (file)
@@ -64,9 +64,7 @@ namespace MonoTests.System.Text.RegularExpressions {
                }
 
                [Test]
-#if NET_2_0
                [ExpectedException (typeof (ArgumentException))]
-#endif
                public void Constructor_EmptyName ()
                {
                        new RegexCompilationInfo ("pattern", RegexOptions.None, String.Empty, "fullnamespace", false);
@@ -114,9 +112,7 @@ namespace MonoTests.System.Text.RegularExpressions {
                }
 
                [Test]
-#if NET_2_0
                [ExpectedException (typeof (ArgumentException))]
-#endif
                public void Name_Empty ()
                {
                        RegexCompilationInfo info = new RegexCompilationInfo ("pattern", RegexOptions.None, "name", "fullnamespace", true);