blob: 0200fe65c9e8a7194dccd8c52189f51236839811 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// cs1628-2.cs: Cannot use ref or out parameter `i' inside an anonymous method block
// Line: 8
public class Test {
public void test(out int i) {
i = 0;
System.EventHandler test = delegate {
i++;
};
}
}
|