private int NewAttribute() { if (this.attributeCount >= this.attributeList.Count) { Debug.Assert(this.attributeCount == this.attributeList.Count); this.attributeList.Add(new BuilderInfo()); } return this.attributeCount ++; }