protected void PushEndTag(string endTag) { if (_endTags == null) { _endTags = new TagStackEntry[16]; } else if (_endTagCount >= _endTags.Length) { TagStackEntry[] newArray = new TagStackEntry[_endTags.Length * 2]; Array.Copy(_endTags, newArray, _endTags.Length); _endTags = newArray; } _endTags [_endTagCount].tagKey = _tagKey; _endTags [_endTagCount].endTagText = endTag; _endTagCount++; }
protected void PushEndTag(string endTag) { if (_endTags == null) { _endTags = new TagStackEntry[16]; } else if (_endTagCount >= _endTags.Length) { TagStackEntry[] newArray = new TagStackEntry[_endTags.Length * 2]; Array.Copy(_endTags, newArray, _endTags.Length); _endTags = newArray; } _endTags[_endTagCount].tagKey = _tagKey; _endTags[_endTagCount].endTagText = endTag; _endTagCount++; }