MP0011
Requires generated CLI option properties to be virtual.
| Property | Value |
|---|---|
| Category | Usage |
| Default severity | Warning |
| Availability | Repository development only |
Configure severity
.editorconfig
dotnet_diagnostic.MP0011.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 MP0011
// Code that intentionally violates MP0011.
#pragma warning restore MP0011