private void StackCopyOnWrite() { if ((flags & ShareFlags.Stack) != 0) { flags &= ~ShareFlags.Stack; stack = (SimpleType[])stack.Clone(); } }