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


           Summary: Should Class Status list ShouldSerializeXXXXX and
                    ResetXXXXX Property auxiliary methods
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


When PropertyGrid and code serialization etc use properties via
System.ComponentModel it can use two methods called ShouldSerializeXXXXX and
ResetXXXXX where XXXXX is the property name.  (See e.g. bug 391924).

These methods are used only by Reflection and thus are generally defined as
private.  Should Class Status list such methods?  They are similar to the
DefaultValueAttribute.  However can they just be defined when their
functionality is seen missing?



(This functionality is described in MSDN at
http://msdn.microsoft.com/en-us/library/system.componentmodel.propertydescriptor.shouldserializevalue.aspx,
http://msdn.microsoft.com/en-us/library/system.componentmodel.propertydescriptor.resetvalue.aspx
and at "Default Values with the ShouldSerialize and Reset Methods" at
http://msdn.microsoft.com/en-us/library/53b8022e.aspx).


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

Reply via email to