* MonoCustomAttrs.cs (GetBasePropertyDefinition): Use
GetBaseMethod instead of GetMethodDefinition otherwise
we skip intermediate overloads.
Fixes #499569.
svn path=/trunk/mcs/; revision=155660
+2010-04-16 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * MonoCustomAttrs.cs (GetBasePropertyDefinition): Use
+ GetBaseMethod instead of GetMethodDefinition otherwise
+ we skip intermediate overloads.
+
+ Fixes #499569.
+
2010-04-16 Sebastien Pouliot <sebastien@ximian.com>
* Environment.cs: Ensure elevated trust when calling
if (method == null || !method.IsVirtual)
return null;
- MethodInfo baseMethod = method.GetBaseDefinition ();
+ MethodInfo baseMethod = method.GetBaseMethod ();
if (baseMethod != null && baseMethod != method) {
ParameterInfo[] parameters = property.GetIndexParameters ();
if (parameters != null && parameters.Length > 0) {