9 references to ThrowTokenExpected
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\Json\XmlJsonReader.cs (3)
1117
XmlExceptionHelper.
ThrowTokenExpected
(this, "\"", (char)ch);
1411
XmlExceptionHelper.
ThrowTokenExpected
(this, "\"", (char)ch);
1522
XmlExceptionHelper.
ThrowTokenExpected
(this, ((char)characterToSkip).ToString(), (char)BufferReader.GetByte());
System\Xml\XmlUTF8TextReader.cs (6)
770
XmlExceptionHelper.
ThrowTokenExpected
(this, "=", (char)BufferReader.GetByte());
779
XmlExceptionHelper.
ThrowTokenExpected
(this, "\"", (char)BufferReader.GetByte());
813
XmlExceptionHelper.
ThrowTokenExpected
(this, ((char)quoteChar).ToString(), (char)ch);
969
XmlExceptionHelper.
ThrowTokenExpected
(this, ">", (char)BufferReader.GetByte());
995
XmlExceptionHelper.
ThrowTokenExpected
(this, ">", (char)BufferReader.GetByte());
1005
XmlExceptionHelper.
ThrowTokenExpected
(this, "--", (char)BufferReader.GetByte());