2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs1502-10.cs
blobaca93f7c1e0c16b3f5e623aa6cf0fd7a684493b5
1 // CS1502: The best overloaded method match for `foo.p(string, object, object)' has some invalid arguments
2 // Line: 24
4 using System;
6 public class foo
8 static int intval = 3;
10 public static void voidfunc()
14 static void p (string s, object o1, object o2)
18 static void p (string s, params object[] o)
22 public static void Main()
24 p ("Whoops: {0} {1}", intval, voidfunc());