internal ActionFrame PushNewFrame() {
ActionFrame prent = (ActionFrame) this.actionStack.Peek();
ActionFrame frame = (ActionFrame) this.actionStack.Push();
if (frame == null) {
frame = new ActionFrame();
this.actionStack.AddToTop(frame);
}
Debug.Assert(frame != null);
if (prent != null) {
frame.Inherit(prent);
}
return frame;
}