- Roslyn Cookbook
- Manish Vasani
- 96字
- 2025-02-28 17:12:53
Writing Diagnostic Analyzers
In this chapter, we will cover the following recipes:
- Creating, debugging, and executing an analyzer project in Visual Studio
- Creating a symbol analyzer to report issues about symbol declarations
- Creating a syntax node analyzer to report issues about language syntax
- Creating a syntax tree analyzer to analyze source file and report syntax issues
- Creating a method body analyzer to analyze whole method and report issues
- Creating a compilation analyzer to analyze whole compilation and report issues
- Writing unit tests for an analyzer project
- Publishing the NuGet package and VSIX for an analyzer project