2 // Test to ensure proper overload resolution with params methods
4 // From bugs #46199 and #43367
10 public static int Main (String[] args)
15 MonoTest2 test = new MonoTest2 ();
16 if (test.method1 ("some message", "some string") != 0)
22 public static int m(int a, double b)
27 public static int m(int x0, params int[] xr)
35 public virtual int method1 (string message, params object[] args)
40 public void testmethod ()
42 method1 ("some message", "some string");
46 public class MonoTest2 : MonoTest {
48 public override int method1 (string message, params object[] args)
53 public void testmethod2 ()
55 method1 ("some message ", "some string");