How to run DiagnosticAnalyzers?

Topics: APIs
Feb 15, 2015 at 9:51 AM
Given a list of diagnostic analyzers how do I run them on given a single source tree ?

I search something like :

Task<IEnumerable<Diagnostic>> GetDiagnosticsAsync (SemanticModel model, ImmutableList<DiagnosticAnalyzer> diagnostics, CancellationToken cancellationToken);
Developer
Feb 25, 2015 at 4:25 AM
The Roslyn team no longer uses this site. Your comments are most welcome over at https://github.com/dotnet/roslyn