[Mono-bugs] [Bug 36459][Nor] New - Unable to retreive XmlArrayAttributes

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 8 Jan 2003 13:55:14 -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 david@codenoevil.com.


--- shadow/36459	Wed Jan  8 13:55:14 2003
+++ shadow/36459.tmp.3600	Wed Jan  8 13:55:14 2003
@@ -0,0 +1,41 @@
+Bug#: 36459
+Product: Mono/MCS
+Version: unspecified
+OS Details: XP SP1
+Status: NEW   
+Severity: Unknown
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: david@codenoevil.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Unable to retreive XmlArrayAttributes 
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+When calling type.GetCustomAttributes (typeof(XmlArrayAttribute), false) 
+on a member with an XmlArrayAttribute, the resultant Attributes array is 
+of length 0.
+Steps to reproduce the problem:
+1. Create serializable type with an array member
+2. Addorn type w/ XmlArrayAttribute
+3. Try to retrieve this Attribute from code
+Actual Results:
+No XmlArrayAttribute returned
+Expected Results:
+returned object[] should contain one XmlArrayAttribute object
+How often does this happen? 
+Additional Information:
+This is holding up implementing SerializeArray() in XmlSerializer