Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / errors / cs0121-11.cs
1 // CS0121: The call is ambiguous between the following methods or properties: `IA.Foo()' and `IB.Foo()'
2 // Line: 27
3
4 interface IA
5 {
6         void Foo ();
7 }
8
9 interface IBB : IB
10 {
11 }
12
13 interface IB
14 {
15         int Foo ();
16 }
17
18 interface IC : IA, IBB
19 {
20 }
21
22 public class Program
23 {
24         static void Main ()
25         {
26                 IC i = null;
27                 i.Foo ();
28         }
29 }