Where to read documents for Microsoft.CodeAnalysis?

In Visual Studio 2015 (after installing the preview SDK ), I created a "diagnostics with fix code" project. Skeletal code is filled with interesting types, such as DiagnosticAnalyzer (at Microsoft.CodeAnalysis.Diagnostics) and CodeFixProvider (at Microsoft.CodeAnalysis.CodeFixes).

Where can I read documents for these types? I could not find them in msdn. All I found was a different namespace with the similarity name System.Diagnostics.CodeAnalysis .

Ideally, msdn will have a complete guide for writing DiagnosticAnalyzer, as well as the usual reference documentation.

+5
source share
2 answers

They are all associated with Roslyn, so it’s best to check out the Roslyn documentation.

It contains examples, walkthroughs , frequently asked questions , etc. In particular, here is a PDF file showing how to: write C # diagnostics and fix the code using DiagnosticAnalyzer .

MSDN usually does not have information about the technologies that are still in the preview. I can only guess that before the release of VS 2015 all MSDN articles will be published (but we will have to wait and see).

+8
source

Now Roslyn will move to https://github.com/dotnet/roslyn

I think the documentation is not that great ...!

my personal discovery

0
source

Source: https://habr.com/ru/post/1210034/


All Articles