Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-746.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7ed53fdb00f04cc81e4549da58a926e52f917b25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// 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 ()
	{
	}
}