icsharpcode/NRefactory — pull request #175 by luiscubal (2013-04-28 23:21:04+00:00)
Title: Fix to ConvertLambdaToAnonymousDelegate

My previous change to this file failed to consider () => VoidMethod and incorrectly generated () => { return VoidMethod(); }

I believe this new commit should fix that. I have essentially copied RequireReturnStatement from ConvertLambdaBodyExpressionToStatementAction and added a few extra local variables for clarity.