Skip to content

Source Generators: should user generators require an attribute for discovery? #42566

Description

@chsienki

Currently generators are required to both implement ISouceGenerator and have the [GeneratorAttribute].

We only use the attribute so we could reuse the same discovery mechanism as analyzers. Should we remove this restriction?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions