I've been tasked with going through some old code at work to clean it up and I stumbled across a class:
public class XMLLayer : Object, IDisposable
First I find that the explicit Object inheritance is unnecessary, but then I find that the dispose method is rather useless:
public void Dispose()
{
    Dispose();
}
Nowhere is an instance of XMLLayer in a using block, having its Dispose() explicitly called, or being placed in a IDisposable variable (polymorphism).
Am I wrong in assuming that the idea of the Dispose method was to add your own custom cleanup code for the class?
 
     
     
     
     
     
    