[Mono-bugs] [Bug 64400][Nor] Changed - Explicit declaration bugs
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 2 Nov 2004 13:43:41 -0500 (EST)
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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=64400
--- shadow/64400 2004-11-02 13:40:38.000000000 -0500
+++ shadow/64400.tmp.21371 2004-11-02 13:43:41.000000000 -0500
@@ -71,6 +71,39 @@
}
Removing that will fix the problem, am running the test suite.
+
+------- Additional Comments From miguel@ximian.com 2004-11-02 13:43 -------
+There is a potential issue with the test-135, but this might
+indicate a bug in our Reflection API after the fix:
+
+// test bug bug#26264
+
+interface IA {
+ void doh();
+}
+interface IB {
+
+ IA Prop {get;}
+}
+class A : IA {
+ public void doh() {}
+}
+class T : IB {
+ IA IB.Prop {
+ get { return new A(); }
+ }
+ public A Prop {
+ get { return new A(); }
+ }
+ static int Main() {
+ PropertyInfo[] p = typeof (T).GetProperties (BindingFlags.Public|
+BindingFlags.NonPublic|BindingFlags.Instance);
+ if (p == null || p.Length != 1)
+ return 1;
+ return 0;
+ }
+}
+