[Mono-bugs] [Bug 24256][Nor] Changed - Make Property use Method classes for its methods

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
23 Jul 2002 23:34:14 -0000


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 martin@gnome.org.

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

--- shadow/24256	Tue Jul 23 18:35:29 2002
+++ shadow/24256.tmp.9404	Tue Jul 23 19:34:14 2002
@@ -1,13 +1,13 @@
 Bug#: 24256
 Product: Mono/MCS
 Version: unspecified
 OS: other
 OS Details: 
-Status: ASSIGNED   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Misc
 AssignedTo: martin@gnome.org                            
 ReportedBy: miguel@ximian.com               
 QAContact: mono-bugs@ximian.com
@@ -17,6 +17,18 @@
 Summary: Make Property use Method classes for its methods
 
 there is a fair ammount of code duplication in Property and Indexer for its
 gettter/setter methods.  
 
 They should probably just create Methods, and recursively use those.
+
+------- Additional Comments From martin@gnome.org  2002-07-23 19:34 -------
+While implementing interface events I realized that the code 
+duplication is not only between Property and Indexer but between 
+Property, Indexer and Event.
+
+I've created a new abstract base class MemberBase for these three 
+babies and moved all the duplicate code into the base class.
+
+Looks much cleaner now :-)
+
+