Skip to content

Commit

Permalink
Merge branch 'diagnostic-suppressor' of https://github.com/safu9/omni…
Browse files Browse the repository at this point in the history
  • Loading branch information
filipw committed Jun 29, 2021
2 parents e60e4bc + d3691af commit ad5bc85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ private async Task<ImmutableArray<Diagnostic>> AnalyzeDocument(Project project,

diagnostics = semanticDiagnosticsWithAnalyzers
.Concat(syntaxDiagnosticsWithAnalyzers)
.Concat(documentSemanticModel.GetDiagnostics())
.Where(d => !d.IsSuppressed)
.Concat(documentSemanticModel.GetDiagnostics())
.ToImmutableArray();
}
else
Expand Down

0 comments on commit ad5bc85

Please sign in to comment.