16 references to ThrowUnexpectedToken
System.Xml (16)
System\Xml\Core\XmlTextReaderImpl.cs (8)
3589
ThrowUnexpectedToken
( pos + 1, "-" );
3608
ThrowUnexpectedToken
( pos, "CDATA[" );
3781
ThrowUnexpectedToken
( pos + 1, "-" );
3796
ThrowUnexpectedToken
( pos, "CDATA[" );
4038
ThrowUnexpectedToken
( pos, ">" );
4210
ThrowUnexpectedToken
( pos, ">" );
4337
ThrowUnexpectedToken
( pos + 1, ">" );
5464
ThrowUnexpectedToken
( endPos, ";" );
System\Xml\Core\XmlTextReaderImplAsync.cs (8)
1407
ThrowUnexpectedToken
(pos + 1, "-");
1422
ThrowUnexpectedToken
(pos, "CDATA[");
1619
ThrowUnexpectedToken
(pos + 1, "-");
1633
ThrowUnexpectedToken
(pos, "CDATA[");
1878
ThrowUnexpectedToken
(pos, ">");
2074
ThrowUnexpectedToken
(pos, ">");
2212
ThrowUnexpectedToken
( pos + 1, ">" );
3529
ThrowUnexpectedToken
( endPos, ";" );