Category: RSCG
-
RSCG – System.Text.Json
name System.Text.Json nuget https://www.nuget.org/packages/System.Text.Json/ link https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation author Microsoft Json Serialize without reflection This is how you can use System.Text.Json . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/System.Text.Json
-
RSCG – RSCG_TimeBombComment
name RSCG_TimeBombComment nuget https://www.nuget.org/packages/RSCG_TimeBombComment/ link http://msprogrammer.serviciipeweb.ro/category/roslyn/ author Andrei Ignat This will generate an error from the comment after a certain date This is how you can use RSCG_TimeBombComment . The code that you start with is The code that you will use is The code that is generated is Code and…
-
RSCG – ThisAssembly
RSCG – ThisAssembly name ThisAssembly nuget https://www.nuget.org/packages/ThisAssembly link https://www.clarius.org/ThisAssembly/ author Daniel Cazzulino The ThisAssembly.Info allows you access to the Assembly Information as constants,instead of going to reflection each time. I found useful to see the assembly version right away in any project that I have. This is how you can use ThisAssembly…
-
RSCG–ISourceGenerator porting to IIncrementalGenerator in 3 steps
Roslyn Source Code Generators (RSCG) have deprecated the ISourceGenerator (roslyn/source-generators.md at main · dotnet/roslyn · GitHub ) vs the new interface IIncrementalGenerator,roslyn/incremental-generators.md at main · dotnet/roslyn · GitHub . That because of the idea of speed of generating code – and the idea of not generating twice the same code. How is the implementation of…