6 class Foo : IFoo<object>
8 public string Bar (object t)
10 return t.GetType ().FullName;
16 public static int Main ()
18 IFoo<object> foo = new Foo ();
19 IFoo<string> foo2 = foo;
21 if (foo2.Bar ("blah") != typeof (string).FullName)
25 if (foo2.Bar ("blah") != typeof (string).FullName)