diff --git a/xml/System.IO/TextReader.xml b/xml/System.IO/TextReader.xml index a64f9c8a0e1..945c92e54d8 100644 --- a/xml/System.IO/TextReader.xml +++ b/xml/System.IO/TextReader.xml @@ -163,9 +163,7 @@ method and passes it a `true` value. - - Flushing the text reader will not flush its underlying encoder unless you explicitly call `Close`. Setting the property to `true` means that data will be flushed from the buffer to the stream, but the encoder state will not be flushed. This allows the encoder to keep its state (partial characters) so that it can encode the next block of characters correctly. This scenario affects UTF8 and UTF7 where certain characters can be encoded only after the encoder receives the adjacent character or characters. + This implementation of `Close` calls the method and passes it a `true` value. > [!NOTE] > In derived classes, do not override the method. Instead, override the method to add code for releasing resources.