Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-lambda-16.cs
1 using System;
2 using System.Collections.Generic;
3
4 class Repro
5 {
6         class Runner<T>
7         {
8                 public Runner (Action<T> action, T t) { }
9         }
10
11         static void AssertFoo<T> (IList<T> list)
12         {
13                 new Runner<int> (delegate {
14                         foreach (T item in list) { }
15                 }, 42);
16         }
17
18         public static void Main ()
19         {
20         }
21 }