public class TestContraVariant { main(x) { return x; } m(x) { var z = main(x); var y; x = y; return new Pair(z, y); } }