[Mono-bugs] [Bug 28582][Min] Changed - Ambiguity in GetProperty when multiple indexers exist.
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
25 Aug 2002 16:46:52 -0000
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=28582
--- shadow/28582 Mon Aug 5 12:45:27 2002
+++ shadow/28582.tmp.21017 Sun Aug 25 12:46:52 2002
@@ -1,14 +1,14 @@
Bug#: 28582
Product: Mono/Runtime
Version: unspecified
OS: Debian Woody
OS Details:
-Status: NEW
-Resolution:
-Severity:
+Status: RESOLVED
+Resolution: FIXED
+Severity: Unknown
Priority: Minor
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: tim@timcoleman.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -57,6 +57,18 @@
Type type = typeof
(System.Web.Services.Description.ServiceCollection);
PropertyInfo itemProp = type.GetProperty ("Item", flags,
null, null, new Type [1] {typeof (int)}, null);
}
}
+
+------- Additional Comments From gonzalo@ximian.com 2002-08-25 12:46 -------
+This seems to be fixed now.
+
+Add this lines to your test case to see how it works:
+
+Console.WriteLine ("{0}", itemProp.Name);
+MethodInfo getMethod = itemProp.GetGetMethod ();
+ParameterInfo [] parameters = getMethod.GetParameters ();
+foreach (ParameterInfo p in parameters)
+ Console.WriteLine ("{0} {1}", p.Name, p.ParameterType);
+