NuGet Package Lindhart.Analyser.MissingAwaitWarning

When using dependency injection and async-await pattern it is possible to end up with an interface with a method that returns a Task.

If this interface method is used in a synchronous method there is a likelihood that it will erroneously be run as a fire and forget method. In this situation this analyser generates a warning.

Info

Version: 1.2.1
Author(s): Morten Hartlev Lindhart, Alessandro Losi
Last Update: Monday, September 28, 2020
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/ykoksen/unused-task-warning
NuGet Url: https://www.nuget.org/packages/Lindhart.Analyser.MissingAwaitWarning


Install
Install-Package Lindhart.Analyser.MissingAwaitWarning
dotnet add package Lindhart.Analyser.MissingAwaitWarning
paket add Lindhart.Analyser.MissingAwaitWarning
Lindhart.Analyser.MissingAwaitWarning Download (Unzip the "nupkg" after downloading)

10 packages depend on this package.


Tags



STATS

must-have-score

6.5

avg-downloads-per-day

293

days-since-last-release

24