[Mono-bugs] [Bug 33430][Wis] New - DefaultMemberAttribute doesn't let me use "Item" on DataRowView

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
7 Nov 2002 13:23:40 -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 danmorg@sc.rr.com.

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

--- shadow/33430	Thu Nov  7 08:23:40 2002
+++ shadow/33430.tmp.1939	Thu Nov  7 08:23:40 2002
@@ -0,0 +1,36 @@
+Bug#: 33430
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: danmorg@sc.rr.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DefaultMemberAttribute doesn't let me use "Item" on DataRowView
+
+In Microsoft.NET, there is a DefaultMemeberAttribute of "Item" for 
+classes System.Data.DataRowView and DataView; however, when trying to 
+build the DataRowView and DataView classes with the 
+[DefaultMemberAttribute("Item")] results in the following error:
+
+F:\cygwin\home\DanielMorgan\mono\mcs\class\System.Data\System.Data\DataRow
+View.c
+s(23,3): error CS0646: Cannot specify the DefaultMember attribute on type 
+contai
+ning an indexer
+
+F:\cygwin\home\DanielMorgan\mono\mcs\class\System.Data\System.Data\DataVie
+w.cs(2
+2,3): error CS0646: Cannot specify the DefaultMember attribute on type 
+containin
+g an indexer
+
+What is the problem?