Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / errors / gcs1661.cs
1 // CS1661: Cannot convert `lambda expression' to delegate type `C.WithOutParam' since there is a parameter mismatch
2 // Line: 10
3 // Compiler options: -langversion:linq
4
5 class C
6 {
7         delegate void WithOutParam (out string value);
8
9         static void Main() 
10         {
11                 WithOutParam o = (string l) => { return; };
12     }
13 }