Fix warnings in mscorlib's Test suite + bring a couple more tests + fix thread rename...
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _FieldInfo.cs
index f570b1ef0d67792518bfdb1e23d22e8791c0db9c..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,10 @@ namespace System.Runtime.InteropServices
        [CLSCompliant (false)]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
        [Guid ("8A7C1442-A9FB-366B-80D8-4939FFA6DBE0")]
+#if !FULL_AOT_RUNTIME
        [TypeLibImportClass (typeof (FieldInfo))]
-#if NET_2_0
-       [ComVisible (true)]
 #endif
+       [ComVisible (true)]
        public interface _FieldInfo
        {
                bool Equals (object other);
@@ -43,9 +41,6 @@ namespace System.Runtime.InteropServices
 
                object GetValue (object obj);
 
-#if !NET_2_0
-               [CLSCompliant (false)]
-#endif
                object GetValueDirect (TypedReference obj);
 
                bool IsDefined (Type attributeType, bool inherit);
@@ -54,9 +49,6 @@ namespace System.Runtime.InteropServices
 
                void SetValue (object obj, object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture);
 
-#if !NET_2_0
-               [CLSCompliant (false)]
-#endif
                void SetValueDirect (TypedReference obj, object value);
 
                string ToString ();
@@ -100,4 +92,3 @@ namespace System.Runtime.InteropServices
                Type ReflectedType {get;}
        }
 }
-#endif