[Mono-bugs] [Bug 26067] New - mcs fails to recognize indexers and events in an interface

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
10 Jun 2002 20:24:10 -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 tcrowell@thirdm.com.

http://bugzilla.ximian.com/show_bug.cgi?id=26067

--- shadow/26067	Mon Jun 10 16:24:10 2002
+++ shadow/26067.tmp.27508	Mon Jun 10 16:24:10 2002
@@ -0,0 +1,42 @@
+Bug#: 26067
+Product: Mono/MCS
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Major
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: tcrowell@thirdm.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs fails to recognize indexers and events in an interface
+
+Description of Problem:
+Mono MCS seems to fail when using an interface to access
+events and indexers.  
+
+Steps to reproduce the problem:
+1. write an interface with an indexer and/or event
+2. write a class to implement the interface
+3. use the interface reference to instantiate the class
+4. use the interface reference as an indexer and/or 
+   to register an event
+
+Actual Results:
+compiler complains:
+'IExample' does not contain a definition for 'MyEvent'
+'IExample' does not have any indexers defined
+
+Expected Results:
+mcs compiler compiles, mono executes without issue
+
+How often does this happen? 
+always
+
+Additional Information:
+sample files posted on mono-list@ximian.com