private void CheckCurrentInfo() {
Debug.Assert(this.currentInfo != null);
Debug.Assert(this.attributeCount == 0 || this.attributeList != null);
Debug.Assert((this.currentIndex == -1) == (this.currentInfo == this.mainNode));
Debug.Assert((this.currentIndex == -1) || (this.currentInfo == this.attributeValue || this.attributeList[this.currentIndex] is BuilderInfo && this.attributeList[this.currentIndex] == this.currentInfo));
}