[Mono-bugs] [Bug 76397][Nor] New - Indexer improperly declared virtual

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Oct 10 10:27:15 EDT 2005


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 jeffrey.a.becker at gmail.com.

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

--- shadow/76397	2005-10-10 10:27:15.000000000 -0400
+++ shadow/76397.tmp.9695	2005-10-10 10:27:15.000000000 -0400
@@ -0,0 +1,70 @@
+Bug#: 76397
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: Gentoo Linux
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: jeffrey.a.becker at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Indexer improperly declared virtual
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+when using the CodeDOM to generate Classes, Indexer properties are
+incorrectly rendered as virtual.  
+
+Steps to reproduce the problem:
+1. run test case
+2. 
+3. 
+
+Actual Results:
+namespace Fresnel.Example {
+	using System;
+	using System.Collections;
+	
+	public class DemoCollection : System.Collections.CollectionBase {
+		
+		public virtual Demo this[int index] {
+			get {
+				((Demo)(base.List[index]));
+			}
+		}
+	}
+	
+}
+
+Expected Results:
+
+namespace Fresnel.Example {
+	using System;
+	using System.Collections;
+	
+	public class DemoCollection : System.Collections.CollectionBase {
+		
+		public Demo this[int index] {
+			get {
+				((Demo)(base.List[index]));
+			}
+		}
+	}
+	
+}
+
+
+How often does this happen? 
+ 100% of the time as far as I can tell.
+
+
+Additional Information:
+
+will attach test case.


More information about the mono-bugs mailing list