private void Add(ClassFile.Method.Instruction instr) { if (codeLength == codeCopy.Length) { Array.Resize(ref codeCopy, codeLength * 2); Array.Resize(ref flags, codeLength * 2); } codeCopy[codeLength++] = instr; }