[Mono-bugs] [Bug 76737][Wis] New - System.Xml.Serialization.XmlTypeAttribute' does not contain a definition for `AnonymousType'

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Nov 17 17:14:53 EST 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 t7 at pobox.com.

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

--- shadow/76737	2005-11-17 17:14:53.000000000 -0500
+++ shadow/76737.tmp.1872	2005-11-17 17:14:53.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 76737
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: t7 at pobox.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Xml.Serialization.XmlTypeAttribute' does not contain a definition for `AnonymousType'
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Code generated by MS's xsd.exe tool can include the following class attribute:
+[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
+
+That type doesn't appear to be in the Mono class libraries.  It isn't
+mentioned in the MS.NET online docs either (1.1), so perhaps it is new or
+undocumented.  It would be nice to have anyway.  I'd imagine it wouldn't be
+too complex to implement for someone familiar with that stuff (not me).
+
+Steps to reproduce the problem:
+1. Paste the above attribute decl above a class declaration
+2. Try to compile it with mcs or gmcs (Mono 1.1.10)
+3. 
+
+Actual Results:
+Compiler complains about unknown attribute
+
+Expected Results:
+Would compile as in MS Dev Studio 8
+
+How often does this happen? 
+every time
+
+Additional Information:
+Don't know if it is really a bug or if MS's xsd.exe is using a
+new/undocumented feature.   Either way it would be nice to have code like
+that compile.


More information about the mono-bugs mailing list