internal void InitializeFragment(bool isEmptyElementTag, int attributeCount, HtmlTagParts tagParts) { if (attributeCount >= 16777215) { throw new TextConvertersException(); } this.isEmptyElementTag = isEmptyElementTag; this.tagParts = tagParts; this.attributeCount = attributeCount; this.cookie += 1; this.valid = true; }
internal void InitializeFragment(bool isEmptyElementTag, int attributeCount, HtmlTagParts tagParts) { if (attributeCount >= 0x00FFFFFF) { throw new TextConvertersException(); } this.isEmptyElementTag = isEmptyElementTag; this.tagParts = tagParts; this.cookie = unchecked ((byte)(this.cookie + 1)); this.valid = true; }