[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs1662.cs
blob7035c189cec1d09a36e8a1abf3be6712d3ffb0b8
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: 12
4 using System;
6 delegate int D (int i);
8 class X
10 static void Main ()
12 D d = (int l) => Main ();