dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
18.96k stars 4.02k forks source link

Compare files from source generators #72205

Open vsfeedback opened 7 months ago

vsfeedback commented 7 months ago

This issue has been moved from a ticket on Developer Community.


The new compare files feature could be useful to compare the output of a roslyn source generator with other files, either in the solution or somewhere else. E.g. when creating a source generator I would like to be able to compare the current output of my generator with a prepared file of the expected output. At the moment this only works on actual physical files.


Original Comments

Feedback Bot on 8/29/2023, 10:48 PM:

(private comment, text removed)

dotnet-issue-labeler[bot] commented 7 months ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.