Roslyn analyzer example with code fix
Develop => Empty project
feature/add-empty-array-analyzer => Analyzer
feature/Add-code-fix => Analyzer + fix
Master branch => Analyzer + code fix
English: https://supersharp.tech/2021/12/30/create-your-own-roslyn-analyzer/
French: https://blog.soat.fr/2021/12/tutorial-creation-dun-analyseur-de-code-roslyn-net/