```C# var f = (Func<int>)delegate() { return 1; }; ``` is fixed to ```C# var f = (Func<int>)() => { return 1; }; ``` which does not build (missing parenthesis). It needs to be fixed to ```C# var f = (Func<int>)(() => { return 1; }); ```
Activity
Correct code fix for SA1130 to add parenthesis around lambda when the…
Correct code fix for SA1130 to add parenthesis around lambda when the…
Correct code fix for SA1130 to add parenthesis around lambda when the…