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

◆ ParseNumericCharRef()

int System.Xml.XmlTextReaderImpl.ParseNumericCharRef ( bool expand,
StringBuilder internalSubsetBuilder,
out EntityType entityType )
inlineprivate

Definition at line 6592 of file XmlTextReaderImpl.cs.

6593 {
6594 int num;
6595 int charCount;
6596 while (true)
6597 {
6599 if (num2 != -2)
6600 {
6601 break;
6602 }
6603 if (ReadData() == 0)
6604 {
6606 }
6607 }
6608 if (expand)
6609 {
6610 _ps.charPos = num - charCount;
6611 }
6612 return num;
6613 }
static string Xml_UnexpectedEOF
Definition SR.cs:36
Definition SR.cs:7
void Throw(int pos, string res, string arg)
int ParseNumericCharRefInline(int startPos, bool expand, StringBuilder internalSubsetBuilder, out int charCount, out EntityType entityType)

References System.Xml.XmlTextReaderImpl._ps, System.charCount, System.Xml.XmlTextReaderImpl.ParsingState.charPos, System.Xml.Dictionary, System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(), System.Xml.XmlTextReaderImpl.ReadData(), System.Xml.XmlTextReaderImpl.Throw(), and System.SR.Xml_UnexpectedEOF.

Referenced by System.Xml.XmlTextReaderImpl.DtdParserProxy_ParseNumericCharRef(), and System.Xml.XmlTextReaderImpl.HandleEntityReference().