Skip to content

Ensure that analyzers in CodeStyle layer sub-type AbstractBuiltInCodeStyleDiagnosticAnalyzer or AbstractCodeQualityDiagnosticAnalyzer, not DiagnosticAnalyzer #50011

@mavasani

Description

@mavasani

@Youssef1313 One example:

internal abstract class AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer
: DiagnosticAnalyzer, IBuiltInAnalyzer

This is turn causes IDE0005 diagnostics to not have an associated help link, falling back to bing search instead of https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005:
image

Let me file an issue and tag you, in case you are interested in fixing this up

Originally posted by @mavasani in #49995 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-AnalyzersBughelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on ituntriagedIssues and PRs which have not yet been triaged by a lead

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions