Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0121-6.cs
1 // CS0121: The call is ambiguous between the following methods or properties: `C.Foo(object, string)' and `C.Foo(int, object)'
2 // Line: 13
3
4 class C
5 {
6         delegate void D (int x, string s);
7
8         static void Foo (object o, string s) { }
9         static void Foo (int x, object o) { }
10
11         static void Main ()
12         {
13                 D d = Foo;
14         }
15 }