[Mono-bugs] [Bug 80959][Nor] New - Allow accessor of indexer to be invoked if DefaultMemberAttribute is not set

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Feb 25 15:20:42 EST 2007


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 gert.driesen at pandora.be.

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

--- shadow/80959	2007-02-25 15:20:42.000000000 -0500
+++ shadow/80959.tmp.23359	2007-02-25 15:20:42.000000000 -0500
@@ -0,0 +1,33 @@
+Bug#: 80959
+Product: Mono: Compilers
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Allow accessor of indexer to be invoked if DefaultMemberAttribute is not set
+
+csc allows one to invoke an accessor method of an indexer if the 
+DefaultMemberAttribute is not set on the class or interface.
+
+To reproduce:
+1. extract the attached gzipped tar archive.
+2. run make
+
+expected result:
+
+successful compilation
+
+actual result:
+
+test.cs(7,17): error CS0517: 'SummaryInfo.this[int].set': cannot 
+explicitly call operator or accessor.


More information about the mono-bugs mailing list