FrameworkFork\System.Runtime.Serialization\System\Xml\XmlExceptionHelper.cs (14)
16ThrowXmlException(reader, res, null);
84ThrowXmlException(reader, SRSerialization.XmlStartElementExpected, GetWhatWasFound(reader));
104ThrowXmlException(reader, SRSerialization.XmlFullStartElementExpected, GetWhatWasFound(reader));
129ThrowXmlException(reader, SRSerialization.XmlMaxArrayLengthExceeded, maxArrayLength.ToString(NumberFormatInfo.CurrentInfo));
134ThrowXmlException(reader, SRSerialization.XmlMaxBytesPerReadExceeded, maxBytesPerRead.ToString(NumberFormatInfo.CurrentInfo));
139ThrowXmlException(reader, SRSerialization.XmlMaxNameTableCharCountExceeded, maxNameTableCharCount.ToString(NumberFormatInfo.CurrentInfo));
144ThrowXmlException(reader, SRSerialization.XmlMaxDepthExceeded, maxDepth.ToString());
149ThrowXmlException(reader, SRSerialization.XmlMaxStringContentLengthExceeded, maxStringContentLength.ToString(NumberFormatInfo.CurrentInfo));
154ThrowXmlException(reader, SRSerialization.XmlBase64DataExpected, GetWhatWasFound(reader));
159ThrowXmlException(reader, SRSerialization.XmlUndefinedPrefix, prefix);
169ThrowXmlException(reader, SRSerialization.XmlInvalidXmlByte, b.ToString("X2", CultureInfo.InvariantCulture));
174ThrowXmlException(reader, SRSerialization.XmlUnexpectedEndOfFile, ((XmlBaseReader)reader).GetOpenElements());
249ThrowXmlException(reader, SRSerialization.XmlDictionaryStringIDUndefinedStatic, key.ToString(NumberFormatInfo.CurrentInfo));
254ThrowXmlException(reader, SRSerialization.XmlDictionaryStringIDUndefinedSession, key.ToString(NumberFormatInfo.CurrentInfo));