Roslyn: The Craft of Static Analysis
summary
Covers using Roslyn and the Visual Studio SDK (VSIX) to build and deliver custom static code analyzers and code fixes for C# projects. Explains when to write your own analyzer, implementation steps (create analyzer, tests, code fixes), integration into CI/CD and pull requests, handling legacy code, versioning/compatibility issues with Roslyn/Visual Studio, and effort estimates and pitfalls. Also shows using Roslyn-based extensions for refactorings, formatting, syntax highlighting and other IDE tooling to improve code quality and speed development.
AI-written summary · about
chapters (9)
- 0:00Roslyn introduction
- 5:51First steps with Roslyn
- 10:28Static analyzer theory
- 15:50Performance issues
- 21:32Analyzer integration
- 27:14Suppressing false positives
- 32:11CI/CD automation
- 38:36IDE enhancements
- 43:11Summary
related talks
54mContinuous Integration: Live Static Analysis using Visual Studio & the Roslyn API
50mAnalyzing Code in .NET
01h 01mThe Power of Roslyn
30mRoslyn for teamlead.If something takes more than 5 minutes -write a script.
01h 00mAutomate Yourself Out of a Job with Roslyn
01h 08mAnalyzing source code using Roslyn
59mInteractive C# Development with Roslyn
01h 16mAutomate yourself out of a job with Roslyn
