Skip to main content
Version: Next

MP0014

Async void method in a module.

PropertyValue
CategoryUsage
Default severityWarning
AvailabilityPublic analyzer package

Configure severity

.editorconfig
dotnet_diagnostic.MP0014.severity = warning

Use none to disable the rule, or silent, suggestion, warning, or error to change its severity.

Suppress a specific occurrence

#pragma warning disable MP0014
// Code that intentionally violates MP0014.
#pragma warning restore MP0014