[Mono-bugs] [Bug 49881][Wis] New - XmlInclude on properties?

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 20 Oct 2003 13:22:43 -0400 (EDT)


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 orphennui@yahoo.com.

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

--- shadow/49881	2003-10-20 13:22:43.000000000 -0400
+++ shadow/49881.tmp.28893	2003-10-20 13:22:43.000000000 -0400
@@ -0,0 +1,27 @@
+Bug#: 49881
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: orphennui@yahoo.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: XmlInclude on properties?
+
+So the XmlIncludeAttribute is not supported on properties for some reason
+(according to the MS docs).  
+
+So how do I let classes implementing an interface provide derived classes
+of a given type for the value of a property?
+
+Does the fact that XmlIncludeAttribute is supported on methods mean that I
+should tag a property's getter/setter with the [XmlInclude] tag, and have
+it work?