2 instantiations of CompilationUnitCompletedEvent
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (2)
1013
var compilationUnitCompletedEvent = new
CompilationUnitCompletedEvent
(compilation, analysisScope.FilterFileOpt!.Value.SourceTree!, analysisScope.FilterSpanOpt);
1101
builder.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)
1671
case
CompilationUnitCompletedEvent
compilationUnitCompletedEvent when !compilationUnitCompletedEvent.FilterSpan.HasValue:
1727
case
CompilationUnitCompletedEvent
completedEvent:
1898
private 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)
957
compilationEvents = compilationEvents.WhereAsArray(e => e is not
CompilationUnitCompletedEvent
c || !c.FilterSpan.HasValue);
958
Debug.Assert(compilationEvents.Count(e => e is
CompilationUnitCompletedEvent
c && !c.FilterSpan.HasValue) == 1);
1013
var
compilationUnitCompletedEvent = new CompilationUnitCompletedEvent(compilation, analysisScope.FilterFileOpt!.Value.SourceTree!, analysisScope.FilterSpanOpt);
1077
case
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.