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)
652
/// If this value is not 0, we might be about to enqueue more events into <see cref="
EventQueue
"/>.
1816
RoslynDebug.Assert(
EventQueue
!= null);
1818
lock (
EventQueue
)
1820
if (!
EventQueue
.IsCompleted)
1839
RoslynDebug.Assert(
EventQueue
!= null);
1847
EventQueue
.TryEnqueue(new CompilationCompletedEvent(this));
1848
EventQueue
.PromiseNotToEnqueue();
1849
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
!;