[Mono-bugs] [Bug 69476][Cri] New - Cannot find type 'System.ComponentModel.Design.CollectionEditor'

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 14 Nov 2004 12:38:02 -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 malisp@poczta.onet.pl.

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

--- shadow/69476	2004-11-14 12:38:02.000000000 -0500
+++ shadow/69476.tmp.1644	2004-11-14 12:38:02.000000000 -0500
@@ -0,0 +1,59 @@
+Bug#: 69476
+Product: Mono: Compilers
+Version: 1.0
+OS: Windows XP
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: malisp@poczta.onet.pl               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Cannot find type 'System.ComponentModel.Design.CollectionEditor'
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+error CS0246: Cannot find type 'System.ComponentModel.Design.CollectionEditor'
+
+Steps to reproduce the problem:
+1. 
+UserControlDataGrid.cs:
+(...) 
+public class CustomTableStylesCollectionEditor :
+System.ComponentModel.Design.CollectionEditor
+ {
+  public CustomTableStylesCollectionEditor(Type type):base(type)
+  {
+  }
+ 
+  //Over ride the function which will return the STYLES collection 
+ 
+  protected override System.Type[] CreateNewItemTypes()
+  {
+   return new Type[] {typeof(CustomStylesCollection)};
+  } 
+ } 
+(...)
+
+2. 
+mcs -target:winexe -r:System.dll -r:System.Windows.Forms.dll
+-r:System.Drawing.dll -r:System.Data.dll  (...)
+
+Actual Results:
+UserControlDataGrid.cs(16) error CS0246: Cannot find type
+'System.ComponentModel.Design.CollectionEditor'
+
+
+Expected Results:
+
+
+How often does this happen? 
+
+
+Additional Information: