Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

30 lines
352 B
C#

public class CollectionValueBase<T>
{
public virtual T[] ToArray()
{
return null;
}
}
public class CollectionBase<T>: CollectionValueBase<T>
{
}
public class SequencedBase<T>: CollectionBase<T>
{
}
public class ArrayBase<T>: SequencedBase<T>
{
public override T[] ToArray()
{
return null;
}
}
class X
{
public static void Main ()
{ }
}