This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface ICovariant<out T>; | |
| interface IContravariant<in T>; | |
| interface IConcrete<T>; | |
| class Foo1; | |
| class Foo2 : Foo1, ICovariant<Foo2>, IContravariant<Foo2>, IConcrete<Foo2>; | |
| class Foo3 : Foo2; | |
| static void Test() | |
| { |
OlderNewer