where can i learn roslyn compiler api in easier manner?

I want to learn how to use the api provided by roslyn compiler, but i cant find any good tutorial about it. There is the roslyn api tutorial at learn.microsoft.com but it only scratch the surface and didnt go beyond just a small example of code. I tried reading roslyn api documentation (also at learn.microsoft.com), but it contain so many jargon that i dont understand yet. I tried reading the source code at github but gave up because it uses visual basic language which i dont understand. Does anyone know easier way to learn roslyn api without reading the documentation one by one and try to figure out how it works? Is there a standard specification for roslyn compiler api? I tried reading C# standard specification by ECMA and it really helped me to learn C# in depth easier than randomly browsing on internet, so im thinking whether there is standard specification for roslyn compiler api
10 Replies
Angius
Angius4mo ago
Googling a lot, reading obscure blogposts and tweets, asking around, purposefully showing bad code hoping someone corrects you, resorting to DuckDuckGo, Bing, Ecosia, and Yandex when Google inevitably fails That's been my experience at least
say | huohuo fanatics
There is no easier way than that?
Angius
Angius4mo ago
There's, like, one decent blogpost about writing incremental source generators And source generators are the mainstream user-facing part of Roslyn That said, maybe people in #roslyn would know more
say | huohuo fanatics
can you please provide me a link to the blogpost, thank you better than nothing i guess
Angius
Angius4mo ago
Andrew Lock | .NET Escapades
Creating an incremental generator: Creating a source generator - Pa...
In this post I walk through how to create a practical .NET 6 incremental source generator: an enum extensions class with a fast ToString() implementation
Angius
Angius4mo ago
This series of posts by Andrew Lock
say | huohuo fanatics
Okay thanks Still waiting answer here if anyone know easier way to learn than randomly browsing the internet
Anton
Anton4mo ago
search in the roslyn channel for specific things people usually go there for this stuff so there's a lot of history
SleepWellPupper
SleepWellPupper4mo ago
If you're so inclined you can also join the voice channels to ask for help. Sometimes it's faster than doing the google dance.
Want results from more Discord servers?
Add your server