Skip to content

IIncrementalGenerator How To: Unit Tests add Additional File? #75338

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

You must be logged in to vote

You're not saving the results of the Add call. Practically every public api in Roslyn is immutable; if you're not saving the result somewhere, it's a good indicator that you've done something wrong.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FrankKubis
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