https://bugzilla.novell.com/show_bug.cgi?id=707434

https://bugzilla.novell.com/show_bug.cgi?id=707434#c1


scott fluto <srfcan...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |srfcan...@hotmail.com

--- Comment #1 from scott fluto <srfcan...@hotmail.com> 2011-07-21 16:43:02 UTC 
---
by modifying XmlReflectionImporter.cs 
line 791:
from: if (atts.XmlIgnore) continue;
to:   if (atts.XmlIgnore || atts.XmlAttribute != null) continue;

and line 808:
from: if (atts.XmlIgnore) continue;
to:   if (atts.XmlIgnore || atts.XmlAttribute != null) continue;

this will fix the problem but it depends on what the purpose of the
GetReflectionMembers method is, if it should just return all Xml decorators on
all field/properties then maybe you should add a restriction list that you can
pass into the method to only return the decorators that you are interested in ,
like XmlElement since right now with the above patch, this will fix it for
xmlattribute but you could still have a problem with other xml decorator
attributes since the Order type is only applicable to XmlElements.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to