8 instantiations of AsyncQueue
Microsoft.CodeAnalysis (8)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
848
.WithEventQueue(new
AsyncQueue
<CompilationEvent>());
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (5)
44
private static readonly AsyncQueue<CompilationEvent> s_EmptyEventQueue = new
AsyncQueue
<CompilationEvent>();
101
.WithEventQueue(new
AsyncQueue
<CompilationEvent>());
305
var compilation = _compilation.WithEventQueue(new
AsyncQueue
<CompilationEvent>());
726
: _compilation.WithSemanticModelProvider(new CachingSemanticModelProvider()).WithEventQueue(new
AsyncQueue
<CompilationEvent>());
1141
var 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)
82
AsyncQueue
<CompilationEvent>? eventQueue)
299
internal abstract Compilation WithEventQueue(
AsyncQueue
<CompilationEvent>? eventQueue);
649
internal
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.
336
private
AsyncQueue
<CompilationEvent>? _lazyCompilationEventQueue;
341
public
AsyncQueue
<CompilationEvent> CompilationEventQueue
635
internal async Task AttachQueueAndProcessAllEventsAsync(
AsyncQueue
<CompilationEvent> eventQueue, AnalysisScope analysisScope, CancellationToken cancellationToken)
664
internal 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)
44
private static readonly
AsyncQueue
<CompilationEvent> s_EmptyEventQueue = new AsyncQueue<CompilationEvent>();
823
var
eventQueue = CreateEventsQueue(compilationEvents);
1048
var
eventQueue = compilation.EventQueue!;
1134
private static
AsyncQueue
<CompilationEvent> CreateEventsQueue(ImmutableArray<CompilationEvent> compilationEvents)
1141
var
eventQueue = new AsyncQueue<CompilationEvent>();
DiagnosticAnalyzer\DiagnosticQueue.cs (1)
40
private readonly
AsyncQueue
<Diagnostic> _queue;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\GetDiagnosticsTests.cs (1)
791
var
eventQueue = compilationWithAnalyzers.Compilation.EventQueue;
Microsoft.CodeAnalysis.UnitTests (1)
AsyncQueueTests.cs (1)
216
/// after the <see cref="
AsyncQueue
{TElement}"/> is completed.