Vannevelj / VSDiagnostics

A collection of static analyzers based on Roslyn that integrate with VS
GNU General Public License v2.0
64 stars 16 forks source link

Ensure we create valid syntax trees #631

Open Hosch250 opened 7 years ago

Hosch250 commented 7 years ago

I found this article on Josh Varty's blog: https://joshvarty.wordpress.com/2015/03/30/lrn-quick-tips-dont-trust-syntaxnode-tofullstring/. We should go through and make sure each code fix generates the correct syntax tree; some of them may be using "shortcuts" like the one he describes.