Sharpen v0.6.1 - A Forgotten Suggestion
Forgotten Suggestion and Improved Display
Sharpen 0.6.1 has just been released, this time featuring only one new suggestion - “Await task instead of calling Task.Result.” It is embarrassing to admit, but it’s true - in a rush to publish Sharpen 0.6.0 before the High-Performance ASP.NET workshop at the WebCamp Zagreb conference I completely overlooked this important suggestion.
While adding and trying out that suggestion I also noticed that the location in code on which the suggestion applies is not optimally presented. Basically, the display of the issue more or less always looked the same:
So I’ve improved the affected code display by showing the enclosing statement:
This applies to all other “Await ABC instead of calling XYZ” suggestions as well.
Release Content
You can see the official release notes for the version 0.6.1 on GitHub.As always, I would like to thank all the runners of the Sharpen Endgame and to invite all of you reading these lines to participate in the next run.
Finally, give Sharpen v0.6.1 a try on your own. As always, I’m curious about findings in your code ;-) Feel called to share them in the comments below.
Improve this page