In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
[mcs.git] / tests / test-351.cs
blob3e7e4d820dc1b9020f626b4a345bcfe5616cbd9a
1 namespace Test {
2 delegate void Foo (string x, params object [] args);
3 class Testee {
4 static void Bar (string x, params object [] args) {}
5 static void Main () {
6 Foo bar = new Foo (Bar);
7 bar ("Hello");
8 bar ("Hello", "world");
9 bar ("Hello", new string [] { "world" });
10 bar ("Hello", "world", "!!!");
11 bar ("i = ", 5);
12 bar ("x' = ", new object [] {"Foo", 5, 3.6 });
13 bar ("x'' = ", "Foo", 5, 3.6);