1 write to EventQueue
Microsoft.CodeAnalysis (1)
Compilation\Compilation.cs (1)
90this.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"/>. 1816RoslynDebug.Assert(EventQueue != null); 1818lock (EventQueue) 1820if (!EventQueue.IsCompleted) 1839RoslynDebug.Assert(EventQueue != null); 1847EventQueue.TryEnqueue(new CompilationCompletedEvent(this)); 1848EventQueue.PromiseNotToEnqueue(); 1849EventQueue.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)
855analyzerDriver.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. 310driver.AttachQueueAndStartProcessingEvents(compilation.EventQueue!, analysisScope, usingPrePopulatedEventQueue: false, cancellationToken); 751driver.AttachQueueAndStartProcessingEvents(compilation.EventQueue!, analysisScope, usingPrePopulatedEventQueue: !hasAnyActionsRequiringCompilationEvents, cancellationToken); 1048var eventQueue = compilation.EventQueue!;