10 references to CompilationEventQueue
Microsoft.CodeAnalysis (10)
DiagnosticAnalyzer\AnalyzerDriver.cs (10)
330
/// Primary driver task which processes all <see cref="
CompilationEventQueue
"/> events, runs analyzer actions and signals completion of <see cref="DiagnosticQueue"/> at the end.
683
this.
CompilationEventQueue
.TryComplete();
871
/// If <see cref="
CompilationEventQueue
"/> has been completed with all compilation events, then it waits for
877
if (
CompilationEventQueue
.IsCompleted)
1529
var workerCount = prePopulatedEventQueue ? Math.Min(
CompilationEventQueue
.Count, _workerCount) : _workerCount;
1597
if ((prePopulatedEventQueue ||
CompilationEventQueue
.IsCompleted) &&
1598
CompilationEventQueue
.Count == 0)
1603
if (!
CompilationEventQueue
.TryDequeue(out var compilationEvent))
1607
var optionalEvent = await
CompilationEventQueue
.TryDequeueAsync(cancellationToken).ConfigureAwait(false);
1613
Debug.Assert(
CompilationEventQueue
.IsCompleted, "TryDequeueAsync should provide a value unless the AsyncQueue<T> is completed.");