Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt committed Apr 23, 2024
1 parent 3dadfbf commit e683214
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Workspaces.Core/Extensions/Extensions.cs
Expand Up @@ -448,9 +448,6 @@ public static ConsoleColors GetColors(this WorkspaceDiagnosticKind kind)
if (!codeAnalysisOptions.IsSupportedDiagnosticId(diagnostic.Id))
return false;

if (diagnostic.Descriptor.CustomTags.Contains(WellKnownDiagnosticTags.Compiler))
return true;

SyntaxTree? tree = diagnostic.Location.SourceTree;

ReportDiagnostic reportDiagnostic = diagnostic.Descriptor.GetEffectiveSeverity(tree, compilationOptions, cancellationToken);
Expand Down

0 comments on commit e683214

Please sign in to comment.