Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System/Test/System.Diagnostics/SwitchesTest.cs')
-rw-r--r--mcs/class/System/Test/System.Diagnostics/SwitchesTest.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/mcs/class/System/Test/System.Diagnostics/SwitchesTest.cs b/mcs/class/System/Test/System.Diagnostics/SwitchesTest.cs
index 4c52cb109af..9d97fc8b53c 100644
--- a/mcs/class/System/Test/System.Diagnostics/SwitchesTest.cs
+++ b/mcs/class/System/Test/System.Diagnostics/SwitchesTest.cs
@@ -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
}
}