static void add(ref foo p) { //// TestFor.Program.add // this.AQAABvfjIDK5FE8y3QJ43A = function (ref$b) // { // ref$b[0].i = (ref$b[0].i + 1); // }; p.i++; }