[Mono-bugs] [Bug 391925] New: Should Class Status list ShouldSerializeXXXXX and ResetXXXXX Property auxiliary methods
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon May 19 04:20:00 EDT 2008
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: mono-bugs at lists.ximian.com
ReportedBy: andyhume32 at yahoo.co.uk
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list