Merge pull request #498 from Unroll-Me/master
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _PropertyInfo.cs
index 8adb20e796b342dbb7bb9ef8554462aba0950d21..12855f7862f822f3cbadda0a11e9606b4a03c378 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 ("F59ED4E4-E68F-3218-BD77-061AA82824BF")]
+#if !FULL_AOT_RUNTIME
        [TypeLibImportClass (typeof (PropertyInfo))]
+#endif
+       [ComVisible (true)]
        public interface _PropertyInfo
        {
-               bool Equals (object obj);
+               bool Equals (object other);
 
                MethodInfo[] GetAccessors ();
 
@@ -83,4 +84,3 @@ namespace System.Runtime.InteropServices
                Type ReflectedType {get;}
        }
 }
-#endif