Add locking to EventWaitHandle.Set/Reset to avoid crashes when another thread dispose...
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / SetWin32ContextInIDispatchAttribute.cs
index 2bca049d8622e20e94214fca87af39eb1d7f6e6e..694b265dea3a654b2ee330a7b95c9b9612446715 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
-
 using System;
 
 namespace System.Runtime.InteropServices 
 {
+       [Obsolete]
+       [ComVisible(true)]      
        [AttributeUsage (AttributeTargets.Assembly, Inherited = false)]
        public sealed class SetWin32ContextInIDispatchAttribute : Attribute
        {
@@ -44,5 +44,3 @@ namespace System.Runtime.InteropServices
                }
        }
 }
-
-#endif