8 instantiations of AsyncQueue
Microsoft.CodeAnalysis (8)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
848.WithEventQueue(new AsyncQueue<CompilationEvent>());
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (5)
44private static readonly AsyncQueue<CompilationEvent> s_EmptyEventQueue = new AsyncQueue<CompilationEvent>(); 101.WithEventQueue(new AsyncQueue<CompilationEvent>()); 305var compilation = _compilation.WithEventQueue(new AsyncQueue<CompilationEvent>()); 726: _compilation.WithSemanticModelProvider(new CachingSemanticModelProvider()).WithEventQueue(new AsyncQueue<CompilationEvent>()); 1141var eventQueue = new AsyncQueue<CompilationEvent>();
DiagnosticAnalyzer\DiagnosticQueue.cs (2)
44_queue = new AsyncQueue<Diagnostic>(); 49_queue = new AsyncQueue<Diagnostic>();
18 references to AsyncQueue
Microsoft.CodeAnalysis (16)
Compilation\Compilation.cs (3)
82AsyncQueue<CompilationEvent>? eventQueue) 299internal abstract Compilation WithEventQueue(AsyncQueue<CompilationEvent>? eventQueue); 649internal AsyncQueue<CompilationEvent>? EventQueue { get; }
DiagnosticAnalyzer\AnalyzerDriver.cs (6)
28/// It uses a <see cref="AsyncQueue{TElement}"/> of <see cref="CompilationEvent"/>s to drive its analysis. 336private AsyncQueue<CompilationEvent>? _lazyCompilationEventQueue; 341public AsyncQueue<CompilationEvent> CompilationEventQueue 635internal async Task AttachQueueAndProcessAllEventsAsync(AsyncQueue<CompilationEvent> eventQueue, AnalysisScope analysisScope, CancellationToken cancellationToken) 664internal void AttachQueueAndStartProcessingEvents(AsyncQueue<CompilationEvent> eventQueue, AnalysisScope analysisScope, bool usingPrePopulatedEventQueue, CancellationToken cancellationToken) 2401/// It uses a <see cref="AsyncQueue{TElement}"/> of <see cref="CompilationEvent"/>s to drive its analysis.
DiagnosticAnalyzer\AsyncQueue.cs (1)
163/// Same operation as <see cref="AsyncQueue{TElement}.Complete"/> except it will not
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (5)
44private static readonly AsyncQueue<CompilationEvent> s_EmptyEventQueue = new AsyncQueue<CompilationEvent>(); 823var eventQueue = CreateEventsQueue(compilationEvents); 1048var eventQueue = compilation.EventQueue!; 1134private static AsyncQueue<CompilationEvent> CreateEventsQueue(ImmutableArray<CompilationEvent> compilationEvents) 1141var eventQueue = new AsyncQueue<CompilationEvent>();
DiagnosticAnalyzer\DiagnosticQueue.cs (1)
40private readonly AsyncQueue<Diagnostic> _queue;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\GetDiagnosticsTests.cs (1)
791var eventQueue = compilationWithAnalyzers.Compilation.EventQueue;
Microsoft.CodeAnalysis.UnitTests (1)
AsyncQueueTests.cs (1)
216/// after the <see cref="AsyncQueue{TElement}"/> is completed.