1 instantiation of CompilationCompletedEvent
Microsoft.CodeAnalysis (1)
Compilation\Compilation.cs (1)
1847EventQueue.TryEnqueue(new CompilationCompletedEvent(this));
13 references to CompilationCompletedEvent
Microsoft.CodeAnalysis (13)
DiagnosticAnalyzer\AnalyzerDriver.cs (10)
661/// <param name="usingPrePopulatedEventQueue">Boolean flag indicating whether we should only process the already populated events or wait for <see cref="CompilationCompletedEvent"/>.</param> 1512CompilationCompletedEvent? completedEvent = null; 1521var workerTasks = new Task<CompilationCompletedEvent?>[workerCount]; 1575private async Task<CompilationCompletedEvent?> ProcessCompilationEventsCoreAsync(AnalysisScope analysisScope, bool prePopulatedEventQueue, CancellationToken cancellationToken) 1579CompilationCompletedEvent? completedEvent = null; 1617if (compilationEvent is CompilationCompletedEvent compilationCompletedEvent) 1678case CompilationCompletedEvent compilationCompletedEvent: 1731case CompilationCompletedEvent endEvent: 1933private void ProcessCompilationCompleted(CompilationCompletedEvent endEvent, AnalysisScope analysisScope, CancellationToken cancellationToken) 1944Debug.Assert(compilationEvent is CompilationStartedEvent || compilationEvent is CompilationCompletedEvent);
DiagnosticAnalyzer\AnalyzerExecutor.cs (1)
321Debug.Assert(compilationEvent is CompilationStartedEvent || compilationEvent is CompilationCompletedEvent);
DiagnosticAnalyzer\CachingSemanticModelProvider.cs (1)
21/// Similarly, it clears the entire compilation wide cache whenever a <see cref="CompilationCompletedEvent"/> has been processed,
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
1074case CompilationCompletedEvent: