Protect SpinLock's Enter method against asynchronous exception
[mono.git] / mcs / class / corlib / System.Threading / WaitHandleCannotBeOpenedException.cs
index 2f543037368acf04e74dfe6ef598394780b2d6d8..f654f4bf1e2b69c6922716aee37bbf6686c71477 100644 (file)
@@ -26,8 +26,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
-
 using System.Runtime.InteropServices;
 using System.Runtime.Serialization;
 
@@ -58,5 +56,3 @@ namespace System.Threading {
                }
        }
 }
-
-#endif