2008-02-18 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mcs / errors / gcs1662-2.cs
1 // CS1662: Cannot convert `lambda expression' to delegate type `D' because some of the return types in the block are not implicitly convertible to the delegate return type
2 // Line: 13
3
4
5 using System;
6
7 delegate int D (int i);
8
9 class X
10 {
11         static void Main ()
12         {
13                 D d = (int l) => Main ();
14         }
15 }