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

◆ ParseNamedCharRefAsync()

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

Definition at line 12558 of file XmlTextReaderImpl.cs.

12559 {
12560 do
12561 {
12562 int num;
12564 {
12565 case -1:
12566 return -1;
12567 case -2:
12568 continue;
12569 }
12570 if (expand)
12571 {
12572 _ps.charPos = num - 1;
12573 }
12574 return num;
12575 }
12576 while (await ReadDataAsync().ConfigureAwait(continueOnCapturedContext: false) != 0);
12577 return -1;
12578 }
int ParseNamedCharRefInline(int startPos, bool expand, StringBuilder internalSubsetBuilder)

References System.Xml.XmlTextReaderImpl._ps, System.Xml.XmlTextReaderImpl.ParsingState.charPos, System.Xml.Dictionary, System.Xml.XmlTextReaderImpl.ParseNamedCharRefInline(), and System.Xml.XmlTextReaderImpl.ReadDataAsync().

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