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