Merge pull request #1225 from strawd/bug22307
[mono.git] / mcs / class / System / Test / System.Diagnostics / SwitchesTest.cs
index 4c52cb109af6ef70cf6e0a091042768642b0453e..9d97fc8b53c615a8589e7fbea1a8cdc0d030038e 100644 (file)
@@ -48,12 +48,10 @@ namespace MonoTests.System.Diagnostics {
                        }
                }
 
-#if NET_2_0
                public string [] ExposeSupportedAttributes ()
                {
                        return GetSupportedAttributes ();
                }
-#endif
 
                public bool Validate ()
                {
@@ -146,16 +144,13 @@ namespace MonoTests.System.Diagnostics {
                }
 
                [Test]
-#if NET_2_0
                [Ignore ("this test depends on 1.x configuration type")]
-#endif
                public void NewSwitch ()
                {
                        Assert.AreEqual ("42", tns.TestValue, "#NS:TestValue");
                        Assert.IsTrue (tns.Validate(), "#NS:Validate");
                }
 
-#if NET_2_0
                [Test]
                public void GetSupportedAttributes ()
                {
@@ -198,7 +193,6 @@ namespace MonoTests.System.Diagnostics {
                        Assert.IsEmpty (s.DisplayName);
                        Assert.IsEmpty (s.Description);
                }
-#endif
        }
 }