ILSpy
ILSpy copied to clipboard
Use lambda syntax in more places
version: 6.2.1.6137
Currently this is by design:
https://github.com/icsharpcode/ILSpy/blob/e82e144fb65b53a4e4bfcc2a31ad9cdde296f583/ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs#L2293-L2297
We do not use lambda syntax if the return type is void
or there are multiple statements in the body. Do we want to change that?
So why do this design? I think people like lambda more than anonymous functions.