Add locking to EventWaitHandle.Set/Reset to avoid crashes when another thread dispose...
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _MethodBuilder.cs
index 9842d44081222dbef1cc5385aa11555fa70ea8f8..bd9e3995c0b8775fca7cc8a9892c4b20b52928a4 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_1_1
-
 using System.Reflection.Emit;
 
 namespace System.Runtime.InteropServices {
-#if NET_2_0
        [ComVisible (true)]
-#endif
        [CLSCompliant (false)]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
        [Guid ("007D8A14-FDF3-363E-9A0B-FEC0618260A2")]
@@ -51,5 +47,3 @@ namespace System.Runtime.InteropServices {
                        IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
        }
 }
-
-#endif