Skip to content

Incorrect documentation in roslyn/docs/features /source-generators.cookbook.md #76122

Answered by 333fred
AnderssonPeter asked this question in Q&A
Discussion options

You must be logged in to vote

The very first line of the document states:

Warning: Source generators implementing ISourceGenerator have been deprecated in favor of incremental generators. The incremental version of this document is here. You should implement IIncrementalGenerator instead of ISourceGenerator.

While we would likely accept a PR updating the content of that section, the document itself covers techniques that have been obsoleted. This isn't particularly different in that respect.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AnderssonPeter
Comment options

Answer selected by AnderssonPeter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants