I have some code that uses TextReader to look for errors in the XML file before any processing. I'm using:
textReader.ResetState(); // reset it...
but it doesn't seem to be setting it back to the beginning of the stream (or file).
How to fix this so I can read the TextReader from the beginning?