MP0004
Writes directly to System.Console instead of using pipeline logging.
| Property | Value |
|---|---|
| Category | Usage |
| Default severity | Error |
| Availability | Public analyzer package |
Configure severity
.editorconfig
dotnet_diagnostic.MP0004.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 MP0004
// Code that intentionally violates MP0004.
#pragma warning restore MP0004