Move language diagnostics to diagnostic analyzers #432
Labels
feature request 📬
A request for new changes to improve functionality
mvvm-toolkit 🧰
Issues/PRs for the MVVM Toolkit
optimization ☄
Performance or memory usage improvements
Overview
Right now, most generators are doing language version checks and emitting diagnostics. This adds a lot of overhead. All of these checks should be moved out to a dedicated diagnostic analyzer, and the generator can simply not emit code if the language version is not high enough, which can easily and quickly be validated right from the syntax provider.
The text was updated successfully, but these errors were encountered: