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

◆ ThrowTagMismatchAsync()

async Task System.Xml.XmlTextReaderImpl.ThrowTagMismatchAsync ( NodeData startTag)
inlineprivate

Definition at line 10427 of file XmlTextReaderImpl.cs.

10428 {
10429 if (startTag.type == XmlNodeType.Element)
10430 {
10432 _ = tuple.Item1;
10433 int item = tuple.Item2;
10434 Throw(args: new string[4]
10435 {
10436 startTag.GetNameWPrefix(_nameTable),
10437 startTag.lineInfo.lineNo.ToString(CultureInfo.InvariantCulture),
10438 startTag.lineInfo.linePos.ToString(CultureInfo.InvariantCulture),
10441 }
10442 else
10443 {
10445 }
10446 }
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)

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

Referenced by System.Xml.XmlTextReaderImpl.ParseEndElementAsync_CheckEndTag(), and System.Xml.XmlTextReaderImpl.ParseEndElementAsync_CheckNameAndParse().