What is the .NET API that I can generate a C# file content without manually building strings?
A few years ago I remember working on an app that generate C# code files that is not Source Generator. However I cannot find it anymore and any keyword I can think of for search engines results in the newer Source Generator APIs (Microsoft.CodeAnalysis.Analyzers
). I am sorry I know this is probably a duplicate but I just can’t find it now.