About
Content
You will find here code examples of 172 Roslyn Source Code Generator (RSCG) that can be useful for you. That means, you will write more elegant and concise code - even if the generators code is not always nice to look.
Are those examples ready for production?
I have done due diligence to test the RSCG that I have shown to you here. However, I cannot guarantee that will fit your code. That means that you can test it for your case and, because all are open source on Github.com, you can contribute to improve them .
Also I have selected only Incremental Source Code Generator. I have also verified that the RSCG are working with .NET 7. Also verified that works with namespaces and classes.
How to use this site
For each RSCG, you will find
- Name of the RSCG and link to the NuGet package / GitHub repository
- What the RSCG can do
- What you need to include in .csproj file
- What will be the initial code
- Code Generated by RSCG
- Link to the downloadable code to practice
I have a suggestion for a new RSCG that is worth mentioning in this site. What can I do?
Please send me an email to ignatandrei@yahoo.com
I want to make a RSCG that will be useful. How can I do?
In the introduction I have put the links to get you started with RSCG.
I want to contribute to the site. How can I do?
Please send me an email to ignatandrei@yahoo.com
Did you wrote any RSCG ?
Full disclosure: Yes, and they are presented here.
I want to see the previous version of the site. Where can I find it?
For v1 with .NET 5 see (docs/v1)