Skip to content

Link to or recreate the roslyn analyzer documentation #47561

@tannergooding

Description

@tannergooding

Describe the issue or suggestion

We currently have some getting started docs for analyzers here: https://github.com/dotnet/docs/blob/main/docs/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix.md

However, this only touches the surface and there are a number of recommendations and best practices that aren't covered. It would be beneficial if we could either link to the Roslyn analyzer docs here: https://github.com/dotnet/roslyn/tree/main/docs/analyzers, or if we could comb through and create an official docs page containing some of the relevant information.

The FixAllProvider document in particular covers some of the tradeoff considerations that exist.

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix.md

Document Version Independent Id

a286e20b-1e43-dc57-e0fb-5a9dee7ec3f6

Platform Id

66b66ae2-c045-6e7a-3fc2-550b1ac424ee

Article author

@BillWagner

Metadata

  • ID: 6e3fc905-7aa1-7f5e-9bfe-fbcef461ad5e
  • PlatformId: 66b66ae2-c045-6e7a-3fc2-550b1ac424ee
  • Service: dotnet-csharp
  • Sub-service: roslyn-sdk

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions