Merge pull request #1385 from BrzVlad/fin-hash
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _FieldInfo.cs
index f53d56e1cc1d113226a1fd7a3d5fab62aa358eca..4383dca5f6665728ba0a38b213a3477004ae34f5 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 ("8A7C1442-A9FB-366B-80D8-4939FFA6DBE0")]
+#if !FULL_AOT_RUNTIME
        [TypeLibImportClass (typeof (FieldInfo))]
+#endif
+       [ComVisible (true)]
        public interface _FieldInfo
        {
-               bool Equals (object obj);
+               bool Equals (object other);
 
                object[] GetCustomAttributes (bool inherit);
 
@@ -40,7 +41,6 @@ namespace System.Runtime.InteropServices
 
                object GetValue (object obj);
 
-               [CLSCompliant (false)]
                object GetValueDirect (TypedReference obj);
 
                bool IsDefined (Type attributeType, bool inherit);
@@ -49,7 +49,6 @@ namespace System.Runtime.InteropServices
 
                void SetValue (object obj, object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture);
 
-               [CLSCompliant (false)]
                void SetValueDirect (TypedReference obj, object value);
 
                string ToString ();
@@ -93,4 +92,3 @@ namespace System.Runtime.InteropServices
                Type ReflectedType {get;}
        }
 }
-#endif