ByronMayne / SourceGenerator.Foundations

A Source Generator for Source Generators. Gives out of the box support for transistent dependencies and logging right in Visual Studio
MIT License
31 stars 0 forks source link

Added Code Analyzer for common mistakes #15

Closed ByronMayne closed 7 months ago

ByronMayne commented 7 months ago

11

There is three analyzers defined that check for the following

  1. The generator has a default constructor
  2. The generator has the [SgfGenerator] attribute applied to it
  3. The generator does not have the [Generator] attribute applied to it