class Test { public void Foo (Test x, Test y) { } } class X { public static void Main () { Test test = new Test (); test.Foo (test, test); } }