cafeaunet wrote:
> Hello,
> 
> I notice that some methods in Mono (1.2.5.1) override a base method, and
> just call the base method inside the overridden method. For example, the
> method AppendChild in the class System.Xml.XmlAttribute simply calls
> base.AppendChild (and does nothing else). I notice this behavior especially
> in .NET 2.0 methods.
> 
> What is the rationale for such methods? It seems like these overridden
> methods are simply not needed. Wouldn't such methods just slow down
> execution? 

They are for API compatibility. If MS overrides a method,
we have to do it as well, even if our implementation details
do not need the overridden method.

Robert

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to