amis92 / RecordGenerator

C# immutable records generator
https://amis92.github.io/RecordGenerator/
MIT License
72 stars 10 forks source link

Move Equality/Sealed analyzer into Analyzers #76

Closed amis92 closed 5 years ago

amis92 commented 5 years ago

In the end, I think we may want to keep analysis in the Analyzers project anyway. There we can offer a CodeFix that'll make the class sealed, enhancing the experience.

Originally posted by @amis92 in https://github.com/amis92/RecordGenerator/pull/56

amis92 commented 5 years ago

A problem I noticed during development of this feature: diagnostics reported via CGR tools are only raised in incremental builds if the file changed. After that, on the next build, they disappear. Essentially, they should mostly be avoided.