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

◆ ParseCondSectionAsync()

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

Definition at line 4011 of file DtdParser.cs.

4012 {
4015 {
4016 case Token.INCLUDE:
4018 {
4020 {
4022 }
4023 if (_validate)
4024 {
4025 if (_condSectionEntityIds == null)
4026 {
4027 _condSectionEntityIds = new int[2];
4028 }
4029 else if (_condSectionEntityIds.Length == _condSectionDepth)
4030 {
4031 int[] array = new int[_condSectionEntityIds.Length * 2];
4034 }
4036 }
4038 break;
4039 }
4040 goto default;
4041 case Token.IGNORE:
4043 {
4045 {
4047 }
4049 {
4051 {
4053 }
4054 break;
4055 }
4056 }
4057 goto default;
4058 default:
4060 break;
4061 }
4062 }
static string Sch_ParEntityRefNesting
Definition SR.cs:392
Definition SR.cs:7
void SendValidationEvent(int pos, XmlSeverityType severity, string code, string arg)
async Task< Token > GetTokenAsync(bool needWhiteSpace)

References System.Xml.DtdParser._condSectionDepth, System.Xml.DtdParser._condSectionEntityIds, System.Xml.DtdParser._curPos, System.Xml.DtdParser._currentEntityId, System.Xml.DtdParser._validate, System.array, System.Array.Copy(), System.Xml.Dictionary, System.Xml.DtdParser.GetTokenAsync(), System.Xml.DtdParser.OnUnexpectedError(), System.SR.Sch_ParEntityRefNesting, and System.Xml.DtdParser.SendValidationEvent().

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