Tagged: Source Generator
All Tags
Source Generator
5pages
5related
Content related to the Roslyn incremental source generator.
Pages with this tag
Binding and validation
1The reflection-free binder Optionary generates, the types it supports, how options are registered and validated, and where it deliberately differs from Microsoft's binding generator.
Declarations
2Mark an options type with its section, on the type or on the assembly, and how the section path is derived.
Registering from a library
3The registration method Optionary generates into every assembly, its contract, and how a library exposes it.
Diagnostics
4The OPT diagnostics the generator and the build report, and how to fix each.
Troubleshooting
5What to check when the generator doesn't run, the registration method is missing, or the schema isn't there.