a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
292 B
C#
15 lines
292 B
C#
// 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
|
|
// Line: 12
|
|
|
|
using System;
|
|
|
|
delegate int D (int i);
|
|
|
|
class X
|
|
{
|
|
static void Main ()
|
|
{
|
|
D d = (int l) => Main ();
|
|
}
|
|
}
|