* MonoCustomAttrs.cs (GetBase): Revert last change as it breaks the build.
svn path=/trunk/mcs/; revision=78466
2007-06-02 Zoltan Varga <vargaz@gmail.com>
+ * MonoCustomAttrs.cs (GetBase): Revert last change as it breaks the build.
+
* MonoCustomAttrs.cs (GetBase): Handle properties correctly. Fixes #81797.
2007-05-31 Zoltan Varga <vargaz@gmail.com>
MethodInfo method = null;
if (obj is MonoProperty)
{
+ MonoProperty prop = (MonoProperty) obj;
+ method = prop.GetGetMethod (true);
+ if (method == null)
+ method = prop.GetSetMethod (true);
+/*
MonoProperty prop = (MonoProperty) obj;
if (prop.DeclaringType.BaseType != null) {
PropertyInfo baseProp = prop.DeclaringType.BaseType.GetProperty (prop.Name);
return baseProp;
}
return null;
+*/
}
else if (obj is MonoMethod)
{