Skip to main content
Version: Next

MP0006

Implements ExecuteAsync without the async modifier.

PropertyValue
CategoryUsage
Default severityError
AvailabilityPublic analyzer package

Configure severity

.editorconfig
dotnet_diagnostic.MP0006.severity = error

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

Suppress a specific occurrence

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