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