public static int ComputeCodeSize(this MethodBody body) { return body.Instructions.Sum(instruction => instruction.GetSize()); }