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

◆ ParseCommentAsync()

async Task System.Xml.DtdParser.ParseCommentAsync ( )
inlineprivate

Definition at line 3970 of file DtdParser.cs.

3971 {
3973 try
3974 {
3976 {
3978 }
3979 else
3980 {
3983 }
3984 }
3985 catch (XmlException ex)
3986 {
3987 if (!(ex.ResString == System.SR.Xml_UnexpectedEOF) || _currentEntityId == 0)
3988 {
3989 throw;
3990 }
3992 }
3994 }
static string Sch_ParEntityRefNesting
Definition SR.cs:392
static string Xml_UnexpectedEOF
Definition SR.cs:36
Definition SR.cs:7
StringBuilder Append(char value, int repeatCount)
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
void SendValidationEvent(int pos, XmlSeverityType severity, string code, string arg)
IDtdParserAdapter _readerAdapter
Definition DtdParser.cs:140
StringBuilder _internalSubsetValueSb
Definition DtdParser.cs:178
Task ParseCommentAsync(StringBuilder sb)

References System.Xml.DtdParser._currentEntityId, System.Xml.DtdParser._internalSubsetValueSb, System.Xml.DtdParser._readerAdapter, System.Text.StringBuilder.Append(), System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Xml.DtdParser.LoadParsingBuffer(), System.Xml.IDtdParserAdapter.ParseCommentAsync(), System.Xml.DtdParser.SaveInternalSubsetValue, System.Xml.DtdParser.SaveParsingBuffer(), System.SR.Sch_ParEntityRefNesting, System.Xml.DtdParser.SendValidationEvent(), and System.SR.Xml_UnexpectedEOF.

Referenced by System.Xml.DtdParser.ParseSubsetAsync().