[Mono-list] Overridden method calling base method (and doing nothing else)

cafeaunet cafeaunet at gmail.com
Tue Dec 11 17:21:11 EST 2007


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? 

Café.



More information about the Mono-list mailing list