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