[bcl] Remove more NET_2_0 checks from class libs
[mono.git] / mcs / class / corlib / Test / System.Threading / AutoResetEventTest.cs
index df0a77631c48df292285e3825469656dbaae39a0..8a3ad3b76ab27956cfbdb42e9252afaa5a63cf19 100644 (file)
@@ -12,9 +12,7 @@
 using NUnit.Framework;
 using System;
 using System.Threading;
-#if NET_2_0
 using Microsoft.Win32.SafeHandles;
-#endif
 
 namespace MonoTests.System.Threading
 {
@@ -32,7 +30,6 @@ namespace MonoTests.System.Threading
                        Assert.IsFalse (evt.WaitOne (1000, false), "#3");
                }
 
-#if NET_2_0
                [Test] // bug #81529
                public void SafeWaitHandle ()
                {
@@ -115,6 +112,5 @@ namespace MonoTests.System.Threading
                        are1.Close ();
                        swh1.Dispose ();
                }
-#endif
        }
 }