Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update samples to include how to use IIncrementalGenerator #933

Closed
musictopia2 opened this issue Dec 2, 2021 · 2 comments
Closed

Update samples to include how to use IIncrementalGenerator #933

musictopia2 opened this issue Dec 2, 2021 · 2 comments
Labels
Area-Source Generators SDK support for source generators

Comments

@musictopia2
Copy link

I have managed to create some source generators that implement the ISourceGenerator interface.

I found that .net 6 has the new interface IIncrementalGenerator which can help improve performance.

However, I found that the information being sent is not nearly as much as the ISourceGenerator.
So a person has to do something completely different in order to get the information needed to even produce strings.

@sharwell
Copy link
Member

sharwell commented Feb 2, 2022

Duplicate of #941

@sharwell sharwell marked this as a duplicate of #941 Feb 2, 2022
@sharwell sharwell closed this as completed Feb 2, 2022
@sharwell
Copy link
Member

sharwell commented Feb 2, 2022

@musictopia2 this issue was reported first, but I marked it as a duplicate because I answered the other issue first. 😄

@sharwell sharwell added the Area-Source Generators SDK support for source generators label Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Source Generators SDK support for source generators
Projects
None yet
Development

No branches or pull requests

2 participants