Skip to content

CompilationWithAnalyzers.GetAllDiagnosticsAsync() does not respect CompilationWithAnalyzersOptions.ReportSuppressedDiagnostics #41584

@sharwell

Description

@sharwell

Version Used: 3.3.1

Steps to Reproduce:

  1. Set CompilationOptions.ReportSuppressedDiagnostics to false
  2. Get a CompilationWithAnalyzers
  3. Call GetAllDiagnosticsAsync()

Expected Behavior:

The suppressed diagnostics are not included in the result.

Actual Behavior:

The suppressed diagnostics are included in the result.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions