10 references to DiagnosticQueue
Microsoft.CodeAnalysis (10)
DiagnosticAnalyzer\AnalyzerDriver.cs (10)
327/// Primary driver task which processes all <see cref="CompilationEventQueue"/> events, runs analyzer actions and signals completion of <see cref="DiagnosticQueue"/> at the end. 353/// <see cref="DiagnosticQueue"/> that is fed the diagnostics as they are computed. 456this.DiagnosticQueue.TryComplete(); 674this.DiagnosticQueue.TryComplete(); 678.ContinueWith(c => DiagnosticQueue.TryComplete(), cancellationToken, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default); 689this.DiagnosticQueue.TryComplete(); 879while (DiagnosticQueue.TryDequeue(out var diagnostic)) 1181var diagnostics = syntax ? DiagnosticQueue.DequeueLocalSyntaxDiagnostics(analyzer) : DiagnosticQueue.DequeueLocalSemanticDiagnostics(analyzer); 1187var diagnostics = DiagnosticQueue.DequeueNonLocalDiagnostics(analyzer);