29 references to ThrowXmlException
System.Runtime.Serialization (29)
System\Runtime\Serialization\Json\XmlJsonReader.cs (11)
495XmlExceptionHelper.ThrowXmlException(this, 552XmlExceptionHelper.ThrowXmlException(this, 593XmlExceptionHelper.ThrowXmlException(this, 681XmlExceptionHelper.ThrowXmlException(this, 1241XmlExceptionHelper.ThrowXmlException(this, 1260XmlExceptionHelper.ThrowXmlException(this, 1292XmlExceptionHelper.ThrowXmlException(this, 1342XmlExceptionHelper.ThrowXmlException(this, 1386XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.JsonInvalidFFFE))); 1655XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.JsonEncounteredUnexpectedCharacter, val[i]))); 1683XmlExceptionHelper.ThrowXmlException(this,
System\Xml\XmlBaseReader.cs (11)
152XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlDeclMissingVersion))); 155XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlMalformedDecl))); 159XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlDeclMissingVersion))); 168XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlMalformedDecl))); 172XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlMalformedDecl))); 188XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlMalformedDecl))); 194XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlInvalidStandalone))); 203XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlMalformedDecl))); 209XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(valueSR))); 386XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlSpecificBindingPrefix, "xml", xmlNamespace))); 390XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlSpecificBindingPrefix, "xmlns", xmlnsNamespace)));
System\Xml\XmlUTF8TextReader.cs (7)
423XmlExceptionHelper.ThrowXmlException(this, exception); 628XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlSpaceBetweenAttributes))); 643XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlInvalidFFFE))); 797XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlInvalidCommentChars))); 930XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlInvalidFFFE))); 1090XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlCDATAInvalidAtTopLevel))); 1133XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.GetString(SR.XmlCloseCData)));