C# How to Write a Source Generator Part 5/5: Publishing the Library with Automation ToolAfter carefully code and test, we would like to share the library to the world and hope it will be helpful to people.Dec 15, 2022Dec 15, 2022
C# How to Write a Source Generator Part 4/5: Testing and DebuggingTo properly test a Source Generator, we need to simulate the compilation process.Dec 15, 2022Dec 15, 2022
C# How to Write a Source Generator Part 3/5: CodingWe will implement IIncrementalGenerator so that it generates our desired code.Dec 15, 2022Dec 15, 2022
C# How to Write a Source Generator Part 2/5: Setting UpOur solution will have 3 parts: Attribute declaration, source generator code and unit test.Dec 15, 2022Dec 15, 2022
C# How to Write a Source Generator Part 1/5: PlanningSource Generator has came with C# 9 and .NET 5 since 2020. A Source Generator is basically the code that writes code for you. This will…Dec 15, 2022Dec 15, 2022