Add locking to EventWaitHandle.Set/Reset to avoid crashes when another thread dispose...
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / UCOMIConnectionPoint.cs
index 877f10234b1c728f0da401318ee5f3cfe6d0950a..1e514ab4b72d15439a6336df78418edfb6235065 100644 (file)
@@ -4,9 +4,7 @@
 // Author:
 //   Andreas Nahr (ClassDevelopment@A-SoftTech.com)
 //
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-using System;
-
 namespace System.Runtime.InteropServices
 {
-#if NET_2_0
        [Obsolete]
-#endif
        [ComImport]
        [Guid ("b196b286-bab4-101a-b69c-00aa00341d07")]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]