16 references to ThrowUnexpectedToken
System.Private.Xml (16)
System\Xml\Core\XmlTextReaderImpl.cs (8)
3933ThrowUnexpectedToken(pos + 1, "-"); 3958ThrowUnexpectedToken(pos, "CDATA["); 4155ThrowUnexpectedToken(pos + 1, "-"); 4174ThrowUnexpectedToken(pos, "CDATA["); 4430ThrowUnexpectedToken(pos, ">"); 4622ThrowUnexpectedToken(pos, ">"); 4751ThrowUnexpectedToken(pos + 1, ">"); 6007ThrowUnexpectedToken(endPos, ";");
System\Xml\Core\XmlTextReaderImplAsync.cs (8)
1504ThrowUnexpectedToken(pos + 1, "-"); 1524ThrowUnexpectedToken(pos, "CDATA["); 1760ThrowUnexpectedToken(pos + 1, "-"); 1778ThrowUnexpectedToken(pos, "CDATA["); 2029ThrowUnexpectedToken(pos, ">"); 2246ThrowUnexpectedToken(pos, ">"); 2384ThrowUnexpectedToken(pos + 1, ">"); 3791ThrowUnexpectedToken(endPos, ";");