コード例 #1
0
 /// <summary>
 /// Callback from build listener.
 ///
 /// Given diagnostics are errors host got from explicit build.
 /// It is up to each incremental analyzer how they will merge this information with live diagnostic info
 ///
 /// this API doesn't have cancellationToken since it can't be cancelled.
 ///
 /// given diagnostics are ones that has a source location.
 /// </summary>
 public abstract Task SynchronizeWithBuildAsync(DiagnosticAnalyzerService.BatchUpdateToken token, Document document, ImmutableArray <DiagnosticData> diagnostics);
コード例 #2
0
 public override Task SynchronizeWithBuildAsync(DiagnosticAnalyzerService.BatchUpdateToken token, Document document, ImmutableArray <DiagnosticData> diagnostics)
 {
     return(Analyzer.SynchronizeWithBuildAsync(token, document, diagnostics));
 }