© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•9mo ago•
2 replies
kocha

✅ Very strange bug in Rider when using Source Generators

I'm writing a Source Generator, at some point Rider stopped showing me the generated files, but they where still generated in the background, I could see that at runtime. So I started to change my code/commenting stuff out, to see what the cause of the issue was. I figured out, that as soon as I have
methodSymbol.Parameters
methodSymbol.Parameters
in the code, the generated files won't show up, this is even the case, when the Property access isn't executed, for example if it is after a return statement. This video demonstrates the whole thing.

Does anyone have an idea what coud cause this, or should I just open a bug report for Rider?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Source generators VSCode
C#CC# / help
2y ago
Source Generators In Nuget Packages
C#CC# / help
3y ago
✅ Using git in rider
C#CC# / help
12mo ago
System.Text.Json Source Generators
C#CC# / help
3y ago