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

35 lines
356 B
C#

// Compiler options: -warnaserror -warn:4
using System;
interface IList
{
int Count { get; set; }
}
interface ICounter
{
void Count (int i);
}
interface IEx
{
void Count (params int[] i);
}
interface IListCounter: IEx, IList, ICounter
{
}
class Test
{
static void Foo (IListCounter t)
{
t.Count (1);
}
public static void Main ()
{
}
}