New test.
[mono.git] / mcs / class / corlib / System.Reflection / PropertyInfo.cs
index 45bf3cd119a2523396690ae50f954a627b264a8a..09b7632ecb26b301176d1b038cf22b4c88f4fc52 100644 (file)
@@ -104,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 ();