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: 2.1.0-beta
Author(s): Morten Hartlev Lindhart, Alessandro Losi, Joris Vergeer
Last Update: Wednesday, August 11, 2021
.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

4.5

avg-downloads-per-day

453

days-since-last-release

70