Lindhart.Analyser.MissingAwaitWarning NuGet Package

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.




Got any Lindhart.Analyser.MissingAwaitWarning Question?





Info

Version: 3.0.0-beta
Author(s): Morten Hartlev Lindhart, Alessandro Losi, Joris Vergeer
Last Update: Tuesday, August 9, 2022
.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

515

days-since-last-release

597