projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Fixes codegen for type pattern matching in probing expressions over hoisted...
[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
}