[mcs] Add codegen for null operator on result of awaited instance expression of prope...
[mono.git] / mcs / tests / test-351.cs
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                 public 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);
14                 }
15         }
16 }