Programmatically Suppress a DiagnosticAnalayzer
In the previous post I demonstrated in various ways how a developer could configure a DiagnosticAnalyzer to be suppressed or change its configuration such as severity level. But those are static, what if we want a DiagnosticAnalyzer to be suppressed if and only if a certain condition is true? This is where DiagnosticSupressor comes handy and we want to explore in this post!
