update known-issues
[mono.git] / mono / tests / generics-invoke-byref.2.cs
1 using System;
2 using System.Collections.Generic;
3
4 namespace TestConsole
5 {
6     class Program
7     {
8         static void Main(string[] args)
9         {
10           List<string> str = null;
11           
12           object[] methodArgs = new object[] { str };
13           
14           Program p = new Program();
15           p.GetType().GetMethod("TestMethod").Invoke(p, methodArgs);
16         }
17       
18         public Program()
19         {
20         }
21
22         public void TestMethod(ref List<string> strArg)
23         {
24           strArg = new List<string>();
25         }
26     }
27 }