Ways to Test Roslyn Source Generators

There are a few ways to check if a Roslyn Source Generator works. You can match the code it makes to expected results, or you can run the code it makes to see if it acts the right way.
July 21, 2025
49
253