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

◆ ParseNumericCharRefAsync()

async Task<(EntityType, int)> System.Xml.XmlTextReaderImpl.ParseNumericCharRefAsync ( bool expand,
StringBuilder internalSubsetBuilder )
inlineprivate

Definition at line 12534 of file XmlTextReaderImpl.cs.

12535 {
12536 int num;
12537 int charCount;
12539 while (true)
12540 {
12542 if (num2 != -2)
12543 {
12544 break;
12545 }
12546 if (await ReadDataAsync().ConfigureAwait(continueOnCapturedContext: false) == 0)
12547 {
12549 }
12550 }
12551 if (expand)
12552 {
12553 _ps.charPos = num - charCount;
12554 }
12555 return (entityType, num);
12556 }
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.ReadDataAsync(), System.Xml.XmlTextReaderImpl.Throw(), and System.SR.Xml_UnexpectedEOF.

Referenced by System.Xml.XmlTextReaderImpl.DtdParserProxy_ParseNumericCharRefAsync(), and System.Xml.XmlTextReaderImpl.HandleEntityReferenceAsync().