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

35 lines
428 B
C#

interface ICollectionValue
{
int Count { get; }
}
interface ISCGCollection
{
int Count { get; }
}
interface ICollection : ISCGCollection, ICollectionValue
{
new int Count { get; }
}
interface ISequenced : ICollection
{
}
class Test : ISequenced
{
public int Count { get { return 0; } }
}
static class Maine
{
public static int Main ()
{
ISequenced t = new Test ();
if (t.Count != 0)
return 1;
return 0;
}
}