[Mono-bugs] [Bug 76791][Wis] New - XmlTypeAttribute AnonymousType is missing

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Nov 22 16:40:44 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 jaebird at gmail.com.

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

--- shadow/76791	2005-11-22 16:40:44.000000000 -0500
+++ shadow/76791.tmp.9511	2005-11-22 16:40:44.000000000 -0500
@@ -0,0 +1,32 @@
+Bug#: 76791
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: jaebird at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: XmlTypeAttribute AnonymousType is missing
+
+xsp 2.0 from Microsoft uses this attribute for generated code. Attempting
+to create an instance of XmlSerializer with a type generated by xsp 2.0
+causes crash. (obviously, attempting to compile a generated cs file causes
+compiler errors.)
+
+Below is a sample of attributes generated:
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.26")]
+    [System.SerializableAttribute()]
+    [System.Diagnostics.DebuggerStepThroughAttribute()]
+    [System.ComponentModel.DesignerCategoryAttribute("code")]
+    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
+  
+[System.Xml.Serialization.XmlRootAttribute(Namespace="http://tempuri.org/test.xsd",
+IsNullable=false)]


More information about the mono-bugs mailing list