public override int Peek()
{
// Return the next legal XML character without reading it
int nextCharacter;
do
{
// See what the next character is
nextCharacter = base.Peek();
} while
(
// If it's prohibited XML, skip over the character in the stream
// and try the next.
!IsLegalXmlChar(nextCharacter) &&
(nextCharacter = base.Read()) != EOF
);
return nextCharacter;
} // method