C#C
C#7mo ago
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 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?
Was this page helpful?