Merge branch 'master' into handle-fixes-part1
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _MethodBase.cs
index 50f22eb3415f3a57d2f5f5fe98cf6e10e99ca4fb..ca9013200cc740e38920929a4d9e535430b63928 100644 (file)
@@ -5,8 +5,6 @@
 //   Kazuki Oikawa  (kazuki@panicode.com)
 //
 
-#if NET_1_1
-
 using System;
 using System.Globalization;
 using System.Reflection;
@@ -16,10 +14,13 @@ namespace System.Runtime.InteropServices
        [CLSCompliant (false)]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
        [Guid ("6240837A-707F-3181-8E98-A36AE086766B")]
+#if !FULL_AOT_RUNTIME
        [TypeLibImportClass (typeof (MethodBase))]
+#endif
+       [ComVisible (true)]
        public interface _MethodBase
        {
-               bool Equals (object obj);
+               bool Equals (object other);
                
                object[] GetCustomAttributes (bool inherit);
                
@@ -91,4 +92,3 @@ namespace System.Runtime.InteropServices
                Type ReflectedType {get;}
        }
 }
-#endif