Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

17 lines
438 B
C#

namespace Test {
delegate void Foo (string x, params object [] args);
class Testee {
static void Bar (string x, params object [] args) {}
public static void Main () {
Foo bar = new Foo (Bar);
bar ("Hello");
bar ("Hello", "world");
bar ("Hello", new string [] { "world" });
bar ("Hello", "world", "!!!");
bar ("i = ", 5);
bar ("x' = ", new object [] {"Foo", 5, 3.6 });
bar ("x'' = ", "Foo", 5, 3.6);
}
}
}