Session
Write code to fix your code with C# Analyzers!
This talk is an intermediate-level walkthrough of writing analyzers and code fixes with Roslyn. Code fixes are a great way to perform code transformation to fix bugs, apply styles, or even update older code patterns to newer ones. Code analyzers are a useful tool to help you maintain multiple large code bases.
This talk introduces analyzers, and also goes beyond the basics into more complex subjects, including useful techniques for keeping track of syntax nodes, preserving trivia, pattern-matching code trees, transforming code trees with visitors, debugging and unit testing the code transformations themselves, and finally distributing your own company-specific code analyzers via NuGet.
By the end of this talk, you'll be empowered to develop your own custom analyzers, relieving the burden of code maintenance (at least a little bit)!
Stephen Cleary
Christian, husband, father, developer
Traverse City, Michigan, United States
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top