Suppress Roslyn analyzer warnings without touching the code
Roslyn analyzers help enforce coding standards and catch bugs, but they sometimes flag false positives. Developers usually silence them with #pragma directives or [SuppressMessage] attributes, which means editing the source. A DiagnosticSuppressor offers another route: a Roslyn component that suppresses reported diagnostics programmatically.