Merge pull request #439 from mono-soc-2012/garyb/iconfix
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _MemberInfo.cs
index b144222e0ff1a07de986b1b7ef9a07adf8ce1c05..0b7e269fbf617710ae615ecfd22836acf90df042 100644 (file)
@@ -5,8 +5,6 @@
 //   Kazuki Oikawa  (kazuki@panicode.com)
 //
 
-#if NET_1_1
-
 using System;
 using System.Reflection;
 
@@ -16,9 +14,10 @@ namespace System.Runtime.InteropServices
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
        [Guid ("f7102fa9-cabb-3a74-a6da-b4567ef1b079")]
        [TypeLibImportClass (typeof (MemberInfo))]
+       [ComVisible (true)]
        public interface _MemberInfo
        {
-               bool Equals (object obj);
+               bool Equals (object other);
 
                object[] GetCustomAttributes (bool inherit);
 
@@ -50,4 +49,3 @@ namespace System.Runtime.InteropServices
                        IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
        }
 }
-#endif