2009-09-02 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs1662-2.cs
blobb287fcc468623005fb1897c7943a04667a6e6a1a
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
5 using System;
7 delegate int D (int i);
9 class X
11 static void Main ()
13 D d = (int l) => Main ();