I am implementing DiagnosticAnalyzer
for analyzing a CompilationWithAnalyzers
object using the roslyn compiler library. I wish to add an event at the exhaustion of a single diangosticanalyzer, but have been unable to find such a hook. The only similar event I have seen is AnalysisContext.RegisterCompilationAction
but it triggers at the completion of a compilation, not an analysis.
Does such an event exist? is there another way to fulfill the same goal?