9 references to SuppressionHelpers
Microsoft.CodeAnalysis.Features (9)
CodeFixes\Configuration\ConfigurationUpdater.cs (2)
615
var isLanguageAgnosticEntry = (_diagnostic == null || !
SuppressionHelpers
.IsCompilerDiagnostic(_diagnostic)) && _isPerLanguage;
754
var compilerDiagOrNotPerLang = (_diagnostic != null &&
SuppressionHelpers
.IsCompilerDiagnostic(_diagnostic)) || !_isPerLanguage;
CodeFixes\Configuration\ConfigureCodeStyle\ConfigureCodeStyleOptionCodeFixProvider.cs (1)
43
SuppressionHelpers
.IsNotConfigurableDiagnostic(diagnostic) ||
CodeFixes\Configuration\ConfigureSeverity\ConfigureSeverityLevelCodeFixProvider.cs (2)
42
=> !diagnostic.IsSuppressed && !
SuppressionHelpers
.IsNotConfigurableDiagnostic(diagnostic);
74
if (!
SuppressionHelpers
.IsCompilerDiagnostic(diagnostic))
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (3)
45
=>
SuppressionHelpers
.CanBeSuppressed(diagnostic) ||
SuppressionHelpers
.CanBeUnsuppressed(diagnostic);
220
if (!skipSuppressMessage &&
SuppressionHelpers
.CanBeSuppressedWithAttribute(diagnostic))
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction.cs (1)
38
else if (documentOpt != null && !
SuppressionHelpers
.IsSynthesizedExternalSourceDiagnostic(diagnostic))