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)
644/// If this value is not 0, we might be about to enqueue more events into <see cref="EventQueue"/>. 1808RoslynDebug.Assert(EventQueue != null); 1810lock (EventQueue) 1812if (!EventQueue.IsCompleted) 1831RoslynDebug.Assert(EventQueue != null); 1839EventQueue.TryEnqueue(new CompilationCompletedEvent(this)); 1840EventQueue.PromiseNotToEnqueue(); 1841EventQueue.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!;