Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ThrowTagMismatch()

void System.Xml.XmlTextReaderImpl.ThrowTagMismatch ( NodeData startTag)
inlineprivate

Definition at line 4511 of file XmlTextReaderImpl.cs.

4512 {
4513 if (startTag.type == XmlNodeType.Element)
4514 {
4515 int colonPos;
4516 int num = ParseQName(out colonPos);
4517 Throw(args: new string[4]
4518 {
4519 startTag.GetNameWPrefix(_nameTable),
4520 startTag.lineInfo.lineNo.ToString(CultureInfo.InvariantCulture),
4521 startTag.lineInfo.linePos.ToString(CultureInfo.InvariantCulture),
4522 new string(_ps.chars, _ps.charPos, num - _ps.charPos)
4524 }
4525 else
4526 {
4528 }
4529 }
static CultureInfo InvariantCulture
static string Xml_TagMismatchEx
Definition SR.cs:68
static string Xml_UnexpectedEndTag
Definition SR.cs:70
Definition SR.cs:7
void Throw(int pos, string res, string arg)
int ParseQName(out int colonPos)

References System.Xml.XmlTextReaderImpl._nameTable, System.Xml.XmlTextReaderImpl._ps, System.Xml.XmlTextReaderImpl.ParsingState.charPos, System.Xml.XmlTextReaderImpl.ParsingState.chars, System.Xml.Dictionary, System.Globalization.CultureInfo.InvariantCulture, System.Xml.XmlTextReaderImpl.ParseQName(), System.Xml.XmlTextReaderImpl.Throw(), System.SR.Xml_TagMismatchEx, and System.SR.Xml_UnexpectedEndTag.

Referenced by System.Xml.XmlTextReaderImpl.ParseEndElement().