1 // Compiler options: -langversion:future
8 class Foo
: IFoo
<object>
10 public string Bar (object t
)
12 return t
.GetType ().FullName
;
20 IFoo
<object> foo
= new Foo ();
21 IFoo
<string> foo2
= foo
;
23 if (foo2
.Bar ("blah") != typeof (string).FullName
)
27 if (foo2
.Bar ("blah") != typeof (string).FullName
)