projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New tests.
[mono.git]
/
mcs
/
tests
/
test-746.cs
1
// Compiler options: -warnaserror -warn:4
\r
2
3
using System;
4
5
interface IList
\r
6
{
7
int Count { get; set; }
8
}
9
10
interface ICounter
\r
11
{
\r
12
void Count (int i);
13
}
14
\r
15
interface IEx
\r
16
{
\r
17
void Count (params int[] i);
\r
18
}
\r
19
20
interface IListCounter: IEx, IList, ICounter
\r
21
{
\r
22
}
23
24
class Test
\r
25
{
26
static void Foo (IListCounter t)
27
{
28
t.Count (1);
29
}
30
31
public static void Main ()
32
{
33
}
34
}