[bcl] Remove more NET_2_0 checks from class libs
[mono.git] / mcs / class / System / Test / System.Text.RegularExpressions / RegexTest.cs
index 5978a5d095f072b26dca560f5f4d305d4731f3c2..79ad728c5bf33a1798804b3bcb4efa2947bc4abd 100644 (file)
@@ -11,9 +11,7 @@
 using System;
 using System.Text.RegularExpressions;
 
-#if NET_2_0
 using System.Collections.Generic;
-#endif
 
 using NUnit.Framework;
 
@@ -54,7 +52,6 @@ namespace MonoTests.System.Text.RegularExpressions
 
        protected bool Compiled { get; set; }
 
-#if NET_2_0
                private int cache_initial_value;
 
                [TestFixtureSetUp]
@@ -68,7 +65,6 @@ namespace MonoTests.System.Text.RegularExpressions
                {
                        Regex.CacheSize = cache_initial_value;
                }
-#endif
 
                [Test]
                public void Simple ()
@@ -445,7 +441,6 @@ namespace MonoTests.System.Text.RegularExpressions
                        foreach (MatchCollectionTrial t in trials)
                                runTrial (t,Compiled);
                }
-#if NET_2_0
                [Test]
                public void CacheSize ()
                {
@@ -525,6 +520,5 @@ namespace MonoTests.System.Text.RegularExpressions
                                x += "1";
                        }
                }
-#endif
        }
 }