15 references to ThrowXmlException
System.Private.DataContractSerialization (15)
System\Xml\XmlExceptionHelper.cs (15)
15ThrowXmlException(reader, res, null); 86ThrowXmlException(reader, SR.XmlStartElementExpected, GetWhatWasFound(reader)); 110ThrowXmlException(reader, SR.XmlFullStartElementExpected, GetWhatWasFound(reader)); 140ThrowXmlException(reader, SR.XmlMaxArrayLengthExceeded, maxArrayLength.ToString(NumberFormatInfo.CurrentInfo)); 146ThrowXmlException(reader, SR.XmlMaxArrayLengthOrMaxItemsQuotaExceeded, maxQuota.ToString(NumberFormatInfo.CurrentInfo)); 152ThrowXmlException(reader, SR.XmlMaxBytesPerReadExceeded, maxBytesPerRead.ToString(NumberFormatInfo.CurrentInfo)); 158ThrowXmlException(reader, SR.XmlMaxDepthExceeded, maxDepth.ToString()); 164ThrowXmlException(reader, SR.XmlMaxStringContentLengthExceeded, maxStringContentLength.ToString(NumberFormatInfo.CurrentInfo)); 170ThrowXmlException(reader, SR.XmlMaxNameTableCharCountExceeded, maxNameTableCharCount.ToString(NumberFormatInfo.CurrentInfo)); 176ThrowXmlException(reader, SR.XmlBase64DataExpected, GetWhatWasFound(reader)); 182ThrowXmlException(reader, SR.XmlUndefinedPrefix, prefix); 194ThrowXmlException(reader, SR.XmlInvalidXmlByte, b.ToString("X2", CultureInfo.InvariantCulture)); 200ThrowXmlException(reader, SR.XmlUnexpectedEndOfFile, ((XmlBaseReader)reader).GetOpenElements()); 289ThrowXmlException(reader, SR.XmlDictionaryStringIDUndefinedStatic, key.ToString(NumberFormatInfo.CurrentInfo)); 295ThrowXmlException(reader, SR.XmlDictionaryStringIDUndefinedSession, key.ToString(NumberFormatInfo.CurrentInfo));