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.
Install-Package Lindhart.Analyser.MissingAwaitWarning -Version 1.2.1-beta
dotnet add package Lindhart.Analyser.MissingAwaitWarning --version 1.2.1-beta
<PackageReference Include="Lindhart.Analyser.MissingAwaitWarning" Version="1.2.1-beta" />
paket add Lindhart.Analyser.MissingAwaitWarning --version 1.2.1-beta
Updated to include all currently known awaitable types.
- No dependencies.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Lindhart.Analyser.MissingAwaitWarning:
Miki Discord Bot