2 instantiations of CompilationStartedEvent
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\CompilationStartedEvent.cs (1)
33
=> new
CompilationStartedEvent
(Compilation, additionalFiles);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
1007
var compilationStartedEvent = new
CompilationStartedEvent
(compilation);
9 references to CompilationStartedEvent
Microsoft.CodeAnalysis (9)
DiagnosticAnalyzer\AnalyzerActionCounts.cs (2)
193
/// Note that <see cref="
CompilationStartedEvent
"/> is an exception as it is *always* generated as soon as the
194
/// <see cref="Compilation"/> is created. Any action callbacks driven off <see cref="
CompilationStartedEvent
"/>
DiagnosticAnalyzer\AnalyzerDriver.cs (3)
1735
case
CompilationStartedEvent
startedEvent:
1928
private void ProcessCompilationStarted(
CompilationStartedEvent
startedEvent, AnalysisScope analysisScope, CancellationToken cancellationToken)
1944
Debug.Assert(compilationEvent is
CompilationStartedEvent
|| compilationEvent is CompilationCompletedEvent);
DiagnosticAnalyzer\AnalyzerExecutor.cs (1)
321
Debug.Assert(compilationEvent is
CompilationStartedEvent
|| compilationEvent is CompilationCompletedEvent);
DiagnosticAnalyzer\CompilationStartedEvent.cs (1)
32
public
CompilationStartedEvent
WithAdditionalFiles(ImmutableArray<AdditionalText> additionalFiles)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (2)
1007
var
compilationStartedEvent = new CompilationStartedEvent(compilation);
1066
case
CompilationStartedEvent
compilationStartedEvent: