In Visual Studio 2015 (after installing the SDK preview), I created a 'diagnostic with code fix' project. The skeleton code is full of interesting types such as DiagnosticAnalyzer
(under Microsoft.CodeAnalysis.Diagnostics) and CodeFixProvider
(under Microsoft.CodeAnalysis.CodeFixes).
Where can I read the docs for these types? I couldn't find them on msdn. All I found was a different namespace with a confusingly similar name System.Diagnostics.CodeAnalysis .
Ideally msdn would have a full guide to writing a DiagnosticAnalyzer, as well as the usual reference documentation.