2 instantiations of CompilationUnitCompletedEvent
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (2)
1013var compilationUnitCompletedEvent = new CompilationUnitCompletedEvent(compilation, analysisScope.FilterFileOpt!.Value.SourceTree!, analysisScope.FilterSpanOpt); 1101builder.Add(new CompilationUnitCompletedEvent(compilation, tree, analysisScope.FilterSpanOpt));
11 references to CompilationUnitCompletedEvent
Microsoft.CodeAnalysis (9)
DiagnosticAnalyzer\AnalyzerActionCounts.cs (1)
186/// such as <see cref="SymbolDeclaredCompilationEvent"/>, <see cref="CompilationUnitCompletedEvent"/>, etc.
DiagnosticAnalyzer\AnalyzerDriver.cs (3)
1671case CompilationUnitCompletedEvent compilationUnitCompletedEvent when !compilationUnitCompletedEvent.FilterSpan.HasValue: 1727case CompilationUnitCompletedEvent completedEvent: 1898private void ProcessCompilationUnitCompleted(CompilationUnitCompletedEvent completedEvent, AnalysisScope analysisScope, CancellationToken cancellationToken)
DiagnosticAnalyzer\CachingSemanticModelProvider.cs (1)
19/// <see cref="AnalyzerDriver"/> executing analyzers clears per-tree entries in the cache whenever a <see cref="CompilationUnitCompletedEvent"/>
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (4)
957compilationEvents = compilationEvents.WhereAsArray(e => e is not CompilationUnitCompletedEvent c || !c.FilterSpan.HasValue); 958Debug.Assert(compilationEvents.Count(e => e is CompilationUnitCompletedEvent c && !c.FilterSpan.HasValue) == 1); 1013var compilationUnitCompletedEvent = new CompilationUnitCompletedEvent(compilation, analysisScope.FilterFileOpt!.Value.SourceTree!, analysisScope.FilterSpanOpt); 1077case CompilationUnitCompletedEvent compilationUnitCompletedEvent:
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
135/// The set of trees for which a <see cref="CompilationUnitCompletedEvent"/> has been added to the queue.
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\VisualBasicCompilation.vb (1)
177''' The set of trees for which a <see cref="CompilationUnitCompletedEvent"/> has been added to the queue.