private static object SetArraySlice(object target, object[] args) { var list = (IList)target; list[RuntimeServices.NormalizeIndex(list.Count, (int)args[0])] = args[1]; return(args[1]); }