Skip to main content
Version: Next

MPCLI003

Multiple CLI attributes applied to one property.

PropertyValue
CategoryUsage
Default severityError
AvailabilityPublic analyzer package

Configure severity

.editorconfig
dotnet_diagnostic.MPCLI003.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 MPCLI003
// Code that intentionally violates MPCLI003.
#pragma warning restore MPCLI003