Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using System;
namespace DtoGenerators
public class MappedDtoGenerator : ISourceGenerator
public void Execute(GeneratorExecutionContext context)
// this is where I will generate code into the compilation process
public void Initialize(GeneratorInitializationContext context) {};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment