I have the following class which uses BinaryReader internally and implements IDisposable.
class DisposableClass : IDisposable { private BinaryReader r
Actually they have chosen to use Close() instead of Dispose() Dispose has been explicitly implemented. Which is why you can't see it.
However Close does the same thing as dispose and this is the method they want you to use. Reflector gives the following disassembly for the Close method
public virtual void Close()
{
this.Dispose(true);
}
Close() is used because it is a better choice of words in the context of a binary reader.