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

◆ ScanEntityName()

XmlQualifiedName System.Xml.DtdParser.ScanEntityName ( )
inlineprivate

Definition at line 2340 of file DtdParser.cs.

2341 {
2342 try
2343 {
2344 ScanName();
2345 }
2346 catch (XmlException ex)
2347 {
2348 Throw(System.SR.Xml_ErrorParsingEntityName, string.Empty, ex.LineNumber, ex.LinePosition);
2349 }
2350 if (_chars[_curPos] != ';')
2351 {
2353 }
2355 _curPos++;
2356 return nameQualified;
2357 }
static string Xml_ErrorParsingEntityName
Definition SR.cs:136
Definition SR.cs:7
void Throw(int curPos, string res)
XmlQualifiedName GetNameQualified(bool canHavePrefix)
void ThrowUnexpectedToken(int pos, string expectedToken)

References System.Xml.DtdParser._chars, System.Xml.DtdParser._curPos, System.Xml.Dictionary, System.Xml.DtdParser.GetNameQualified(), System.Xml.DtdParser.ScanName(), System.Xml.DtdParser.Throw(), System.Xml.DtdParser.ThrowUnexpectedToken(), and System.SR.Xml_ErrorParsingEntityName.

Referenced by System.Xml.DtdParser.HandleEntityReference(), System.Xml.DtdParser.HandleEntityReferenceAsync(), System.Xml.DtdParser.ScanLiteral(), and System.Xml.DtdParser.ScanLiteralAsync().