[Mono-bugs] [Bug 55610][Nor] New - Missing proxy method on implicit interface implementations

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 15 Mar 2004 14:06: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=55610

--- shadow/55610	2004-03-15 14:06:41.000000000 -0500
+++ shadow/55610.tmp.30579	2004-03-15 14:06:41.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 55610
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Missing proxy method on implicit interface implementations
+
+mono$ cat test.cs 
+using System.Runtime.CompilerServices;
+
+interface IS {
+	[IndexerName("Hello")]
+	object this [int index] { get; }
+}
+
+class D : IS{
+	[IndexerName ("DUUU")]
+public 	object this [int index] { get { return null;} }
+}
+
+static X { 
+   static void Main () {}
+}
+
+The above should generate a proxy in "D" for implementing the 
+IS.set_Hello method.
+
+Or we should figure out when to call "DefineMethodOverride" in this
+particular case.