BinaryReader.Dispose() cannot be called by the finalizer RRS feed

  • General discussion

  • http://msdn.microsoft.com/en-us/library/azy2k2bx%28v=VS.100%29.aspx

    This page says "this method is called by Dispose and Finalize " . The first part is true - the parameterless Dispose() calls this method -, but the second part isn't.
    The Finalize hardly calls this method, since the BinaryReader class doesn't have finalizer (or, to be more precise, it has a default finalizer inherited from the System.Object, that doesn't do anything).

    (I also added this post to that page as a community content, but maybe it's a better place for a bugreport.)

    Monday, September 6, 2010 1:31 PM