29 references to ThrowXmlException
System.Private.DataContractSerialization (29)
System\Runtime\Serialization\Json\XmlJsonReader.cs (11)
491XmlExceptionHelper.ThrowXmlException(this, 548XmlExceptionHelper.ThrowXmlException(this, 589XmlExceptionHelper.ThrowXmlException(this, 677XmlExceptionHelper.ThrowXmlException(this, 1161XmlExceptionHelper.ThrowXmlException(this, 1180XmlExceptionHelper.ThrowXmlException(this, 1212XmlExceptionHelper.ThrowXmlException(this, 1262XmlExceptionHelper.ThrowXmlException(this, 1306XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.JsonInvalidFFFE)); 1573XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.Format(SR.JsonEncounteredUnexpectedCharacter, val[i]))); 1601XmlExceptionHelper.ThrowXmlException(this,
System\Xml\XmlBaseReader.cs (11)
130XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlDeclMissingVersion)); 133XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlMalformedDecl)); 137XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlDeclMissingVersion)); 146XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlMalformedDecl)); 150XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlMalformedDecl)); 163XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlMalformedDecl)); 169XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlInvalidStandalone)); 178XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlMalformedDecl)); 184XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.Format(valueSR))); 349XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.Format(SR.XmlSpecificBindingPrefix, "xml", xmlNamespace))); 353XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.Format(SR.XmlSpecificBindingPrefix, "xmlns", xmlnsNamespace)));
System\Xml\XmlUTF8TextReader.cs (7)
662XmlExceptionHelper.ThrowXmlException(this, exception); 866XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlSpaceBetweenAttributes)); 899XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlInvalidFFFE)); 1035XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlInvalidCommentChars)); 1168XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlInvalidFFFE)); 1326XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlCDATAInvalidAtTopLevel)); 1369XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.XmlCloseCData));