Merge pull request #1861 from saper/home-override
[mono-project.git] / mcs / tests / test-debug-18.cs
blob12b56a91ac45fd320136a01e2f630459d62f7d6f
1 using System;
3 class C
5 event Func<int> OutEvent;
7 public static void Main ()
11 public void M<U, V> (out U u, ref V v)
13 u = default (U);
16 void Test_1 ()
18 dynamic d = "a";
19 string s = d + "b";
20 return;
23 void Test_2 ()
25 dynamic d = "a";
26 d.ToString ();
29 void Test_3 ()
31 dynamic u = "s";
32 dynamic v = 5;
33 dynamic c = new C ();
34 c.M (out u, ref v);
37 void Test_4 ()
39 dynamic d = new C ();
40 d.OutEvent += new Func<int> (() => 100);