2007-12-06 Jb Evain <jbevain@novell.com>
[mono.git] / mono / tests / generics-invoke-byref.2.cs
blobd62aa346a60b010b8fc5f1b78863921446b37e94
1 using System;
2 using System.Collections.Generic;
4 namespace TestConsole
6 class Program
8 static void Main(string[] args)
10 List<string> str = null;
12 object[] methodArgs = new object[] { str };
14 Program p = new Program();
15 p.GetType().GetMethod("TestMethod").Invoke(p, methodArgs);
18 public Program()
22 public void TestMethod(ref List<string> strArg)
24 strArg = new List<string>();