2009-11-12 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs1628-2.cs
blobb8a24862288f37513b51e192fa324bed52e38c16
1 // CS1628: Parameter `i' cannot be used inside `anonymous method' when using `ref' or `out' modifier
2 // Line: 8
4 public class Test {
5 public void test(out int i) {
6 i = 0;
7 System.EventHandler test = delegate {
8 i++;
9 };