[runtime] Coverage profiler fixes (#5698)
[mono.git] / mcs / tests / dtest-031.cs
1 using System;
2
3 public class A<T>
4 {
5         public U CustomDelegate<U>(out U u)
6         {
7                 u = default(U);
8                 return default(U);
9         }
10 }
11
12 public class Test
13 {
14         public static int Main()
15         {
16                 Foo<int> ();
17                 return 0;
18         }
19         
20         static void Foo<Z> ()
21         {
22                 dynamic a = new A<Z>();
23                 Z z;
24                 a.CustomDelegate(out z);
25         }
26 }