[Mono-bugs] [Bug 30295][Maj] New - Member lookup and inherited interfaces
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
13 Sep 2002 12:35:30 -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 martin@gnome.org.
http://bugzilla.ximian.com/show_bug.cgi?id=30295
--- shadow/30295 Fri Sep 13 08:35:30 2002
+++ shadow/30295.tmp.4885 Fri Sep 13 08:35:30 2002
@@ -0,0 +1,57 @@
+Bug#: 30295
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: martin@gnome.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Member lookup and inherited interfaces
+
+This is from the debugger:
+
+=====
+using System;
+
+interface ITargetInfo
+{
+ int TargetIntegerSize {
+ get;
+ }
+}
+
+interface ITargetMemoryAccess : ITargetInfo
+{
+}
+
+interface IInferior : ITargetMemoryAccess
+{
+}
+
+class D : IInferior
+{
+ public int TargetIntegerSize {
+ get { return 5; }
+ }
+
+ void Hello (IInferior inferior)
+ {
+ Console.WriteLine (inferior.TargetIntegerSize);
+ }
+
+ static void Main ()
+ {
+ D d = new D ();
+
+ d.Hello (d);
+ }
+}
+=====