[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0229-2.cs
1 // CS0229: Ambiguity between `IList.Test' and `ICounter.Test'
2 // Line: 26
3
4 using System;
5
6 delegate void Foo ();
7
8 interface IList 
9 {
10         event Foo Test;
11 }
12
13 interface ICounter 
14 {
15         event Foo Test;
16 }
17
18 interface IListCounter: IList, ICounter
19 {
20 }
21
22 class Test
23 {
24         static void Foo (IListCounter t)
25         {
26                 t.Test += null;
27         }
28 }