8 references to ThrowXmlException
System.Private.DataContractSerialization (8)
System\Xml\XmlExceptionHelper.cs (8)
21ThrowXmlException(reader, res, arg1, null);
92ThrowXmlException(reader, SR.XmlStartElementNameExpected, name, GetWhatWasFound(reader));
116ThrowXmlException(reader, SR.XmlFullStartElementNameExpected, name, GetWhatWasFound(reader));
212ThrowXmlException(reader, SR.XmlTokenExpected, expected, found.ToString());
218ThrowXmlException(reader, SR.XmlTokenExpected, expected, found);
230ThrowXmlException(reader, SR.XmlTagMismatch, GetName(expectedPrefix, expectedLocalName), GetName(foundPrefix, foundLocalName));
277ThrowXmlException(reader, SR.XmlConversionOverflow, value, type);
283ThrowXmlException(reader, SR.XmlDictionaryStringIDRange, XmlDictionaryString.MinKey.ToString(NumberFormatInfo.CurrentInfo), XmlDictionaryString.MaxKey.ToString(NumberFormatInfo.CurrentInfo));