-
I want to use an incremental generator to automatically implement a ToString() method for classes/structs marked with [AutoToString]. However, the code generated by the generator is inconsistent with the code that actually participates in the compilation. Could you tell me why? The project is located at:https://github.com/HarlingPI/IncrementalGeneratorTest.git。 |
Beta Was this translation helpful? Give feedback.
Answered by
333fred
Mar 14, 2025
Replies: 1 comment 7 replies
-
You'll need to start by defining "inconsistent". |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You probably haven't turned on documentation comments in
TestProject
. https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/output#documentationfile