[xbuild] Fix #40094, part 2/2: AssignProjectConfiguration - Fallback to
[mono.git] / mcs / errors / cs0121-24.cs
1 // CS0121: The call is ambiguous between the following methods or properties: `A.GetValues(string[], string)' and `A.GetValues(string, params string[])'
2 // Line: 23
3 // CSC BUG: Correct according the spec, no identity conversion to do tie-breaking
4
5 class A
6 {
7         public int GetValues (string[] s, string value = null)
8         {
9                 return 1;
10         }
11
12         public int GetValues (string s, params string [] args)
13         {
14                 return 2;
15         }
16 }
17
18
19 class B
20 {
21         public static void Main ()
22         {
23                 var a = new A ();
24                 a.GetValues (null);
25         }
26 }