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

◆ GetNameQualified()

XmlQualifiedName System.Xml.DtdParser.GetNameQualified ( bool canHavePrefix)
inlineprivate

Definition at line 2803 of file DtdParser.cs.

2804 {
2805 if (_colonPos == -1)
2806 {
2807 return new XmlQualifiedName(_nameTable.Add(_chars, _tokenStartPos, _curPos - _tokenStartPos));
2808 }
2809 if (canHavePrefix)
2810 {
2812 }
2814 return null;
2815 }
static string Xml_ColonInLocalName
Definition SR.cs:266
Definition SR.cs:7
void Throw(int curPos, string res)
XmlNameTable _nameTable
Definition DtdParser.cs:144
string Add(char[] array, int offset, int length)

References System.Xml.DtdParser._chars, System.Xml.DtdParser._colonPos, System.Xml.DtdParser._curPos, System.Xml.DtdParser._nameTable, System.Xml.DtdParser._tokenStartPos, System.Xml.XmlNameTable.Add(), System.Xml.DtdParser.GetNameString(), System.Xml.DtdParser.Throw(), and System.SR.Xml_ColonInLocalName.

Referenced by System.Xml.DtdParser.ParseAttlistDecl(), System.Xml.DtdParser.ParseAttlistDeclAsync(), System.Xml.DtdParser.ParseElementDecl(), System.Xml.DtdParser.ParseElementDeclAsync(), System.Xml.DtdParser.ParseElementMixedContent(), System.Xml.DtdParser.ParseElementMixedContentAsync(), System.Xml.DtdParser.ParseElementOnlyContent(), System.Xml.DtdParser.ParseElementOnlyContentAsync(), System.Xml.DtdParser.ParseEntityDecl(), System.Xml.DtdParser.ParseEntityDeclAsync(), System.Xml.DtdParser.ParseInDocumentDtd(), System.Xml.DtdParser.ParseInDocumentDtdAsync(), System.Xml.DtdParser.ParseNotationDecl(), System.Xml.DtdParser.ParseNotationDeclAsync(), and System.Xml.DtdParser.ScanEntityName().