internal Object Push() {
if (this.used == this.size) {
if (this.limit <= this.used) {
throw new XmlException(Res.Xml_StackOverflow, string.Empty);
}
Object[] newstack = new Object[this.size + this.growthRate];
if (this.used > 0) {
System.Array.Copy(this.stack, 0, newstack, 0, this.used);
}
this.stack = newstack;
this.size += this.growthRate;
}
return this.stack[this.used++];
}