Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-anon-153.cs
1 using System;
2 using System.Collections.Generic;
3
4 namespace TestComp
5 {
6         class Program
7         {
8                 internal class MyClass
9                 {
10                         public delegate void MyDelegate (out List<int> intToAdd);
11                         private void MyTemplate (MyDelegate myData)
12                         {
13                         }
14                         public void UseATemplate ()
15                         {
16                                 MyTemplate (
17                                         delegate (out List<int> intToAdd) {
18                                                 intToAdd = new List<int> ();
19                                                 intToAdd.Add (0);
20                                         }
21                                 );
22                         }
23                 }
24
25                 public static void Main (string[] args)
26                 {
27                 }
28         }
29 }