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.
See the version list below for details.
Install-Package Lindhart.Analyser.MissingAwaitWarning -Version 1.0.1
dotnet add package Lindhart.Analyser.MissingAwaitWarning --version 1.0.1
<PackageReference Include="Lindhart.Analyser.MissingAwaitWarning" Version="1.0.1" />
paket add Lindhart.Analyser.MissingAwaitWarning --version 1.0.1
Minor fix to be certain to avoid NullReferenceException
- No dependencies.
NuGet packages (10)
Showing the top 5 NuGet packages that depend on Lindhart.Analyser.MissingAwaitWarning:
Miki discord bot framework
Core library for command scaffolding and handling for Discord bots
Argument parsing providers for input strings to types.
ACL for your commands
Localization context creation plugin for Miki.Framework
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Lindhart.Analyser.MissingAwaitWarning:
A high-performance framework for eventually consistent distributed event traceability based on the Virtual Actor model.
Miki Discord Bot