interface IIn { } class Test { static void Foo (IIn f) { } public static int Main () { IIn test = null; Foo (test); return 0; } }