Add locking to EventWaitHandle.Set/Reset to avoid crashes when another thread dispose...
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _PropertyInfo.cs
index 5c4bbb474ed2fc942330f9df22d1012e8f3efbe0..e3041e9e1f5eb1a633883b0f83029a1dac6a24a0 100644 (file)
@@ -5,8 +5,6 @@
 //   Kazuki Oikawa  (kazuki@panicode.com)
 //
 
-#if NET_1_1
-
 using System;
 using System.Globalization;
 using System.Reflection;
@@ -17,12 +15,10 @@ namespace System.Runtime.InteropServices
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
        [Guid ("F59ED4E4-E68F-3218-BD77-061AA82824BF")]
        [TypeLibImportClass (typeof (PropertyInfo))]
-#if NET_2_0
        [ComVisible (true)]
-#endif
        public interface _PropertyInfo
        {
-               bool Equals (object obj);
+               bool Equals (object other);
 
                MethodInfo[] GetAccessors ();
 
@@ -86,4 +82,3 @@ namespace System.Runtime.InteropServices
                Type ReflectedType {get;}
        }
 }
-#endif