New test.
[mono.git] / mcs / class / corlib / System.Reflection / PropertyInfo.cs
index 6a2535832cf75a1e33d4ed7213a486549a4d2624..09b7632ecb26b301176d1b038cf22b4c88f4fc52 100644 (file)
@@ -71,6 +71,13 @@ namespace System.Reflection {
                
                public abstract ParameterInfo[] GetIndexParameters();
 
+#if ONLY_1_1
+               public new Type GetType ()
+               {
+                       return base.GetType ();
+               }
+#endif
+
                public MethodInfo GetSetMethod()
                {
                        return GetSetMethod (false);
@@ -97,20 +104,6 @@ namespace System.Reflection {
                public abstract void SetValue (object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture);
 
 #if NET_2_0 || BOOTSTRAP_NET_2_0
-               [Obsolete ("Use ParameterInfo.GetOptionalCustomModifiers().")]
-               public virtual Type[] OptionalCustomModifiers {
-                       get {
-                               return GetOptionalCustomModifiers ();
-                       }
-               }
-
-               [Obsolete ("Use ParameterInfo.GetRequiredCustomModifiers().")]
-               public virtual Type[] RequiredCustomModifiers {
-                       get {
-                               return GetRequiredCustomModifiers ();
-                       }
-               }
-
                [MonoTODO]
                public virtual Type[] GetOptionalCustomModifiers () {
                        throw new NotImplementedException ();
@@ -131,5 +124,25 @@ namespace System.Reflection {
                        throw new NotImplementedException ();
                }
 #endif
+
+               void _PropertyInfo.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               void _PropertyInfo.GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               void _PropertyInfo.GetTypeInfoCount (out uint pcTInfo)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               void _PropertyInfo.Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr)
+               {
+                       throw new NotImplementedException ();
+               }
        }
 }