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