private bool ReadQuotedString(int quote)
{
for (int c = GetChar(); c != EOF_CHAR; c = GetChar())
{
AddToString(c);
if (c == quote)
{
return true;
}
}
stringBufferTop = 0;
// throw away the string in progress
this.@string = null;
parser.AddError("msg.XML.bad.form");
return false;
}