Skip to content

Repository files navigation

Zomp.MethodCloning

Roslyn source generators that copy methods, so you write each one once.

I want to... Use
Stop maintaining T4 templates that repeat a method per format or type Zomp.MethodCloning.Variants
Write my own generator that copies methods and changes them Zomp.MethodCloning

Zomp.SyncMethodGenerator, which writes the sync version of async methods, is built on the same core.

Learn more

  • Variants reference: every rule, the limitations, and migrating from T4.
  • AGENTS.md: how the repository is built and tested, and the rules the core's source files follow.

Build

dotnet build
dotnet test

About

Roslyn source generators that copy methods, so you write each one once.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages