1 write to EventQueue
Microsoft.CodeAnalysis (1)
Compilation\Compilation.cs (1)
90
this.
EventQueue
= eventQueue;
14 references to EventQueue
Microsoft.CodeAnalysis (14)
Compilation\Compilation.cs (8)
644
/// If this value is not 0, we might be about to enqueue more events into <see cref="
EventQueue
"/>.
1808
RoslynDebug.Assert(
EventQueue
!= null);
1810
lock (
EventQueue
)
1812
if (!
EventQueue
.IsCompleted)
1831
RoslynDebug.Assert(
EventQueue
!= null);
1839
EventQueue
.TryEnqueue(new CompilationCompletedEvent(this));
1840
EventQueue
.PromiseNotToEnqueue();
1841
EventQueue
.TryComplete();
DiagnosticAnalyzer\AnalyzerActionCounts.cs (1)
188
/// by compilation events added to the <see cref="Compilation.
EventQueue
"/>. For these callbacks to be executed,
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
855
analyzerDriver.AttachQueueAndStartProcessingEvents(newCompilation.
EventQueue
!, analysisScope, usingPrePopulatedEventQueue: false, cancellationToken);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (4)
47
/// Underlying <see cref="Compilation"/> with a non-null <see cref="Compilation.
EventQueue
"/>, used to drive analyzer execution.
310
driver.AttachQueueAndStartProcessingEvents(compilation.
EventQueue
!, analysisScope, usingPrePopulatedEventQueue: false, cancellationToken);
751
driver.AttachQueueAndStartProcessingEvents(compilation.
EventQueue
!, analysisScope, usingPrePopulatedEventQueue: !hasAnyActionsRequiringCompilationEvents, cancellationToken);
1048
var eventQueue = compilation.
EventQueue
!;