1 write to Compilation
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\CompilationEvent.cs (1)
11
this.
Compilation
= compilation;
6 references to Compilation
Microsoft.CodeAnalysis (6)
DiagnosticAnalyzer\AnalysisScope.cs (1)
256
var node = getTopmostNodeForAnalysis(symbolEvent.Symbol, syntaxRef, symbolEvent.
Compilation
, cancellationToken);
DiagnosticAnalyzer\AnalyzerDriver.cs (4)
1675
SemanticModelProvider.ClearCache(compilationUnitCompletedEvent.CompilationUnit, compilationUnitCompletedEvent.
Compilation
);
1679
SemanticModelProvider.ClearCache(compilationCompletedEvent.
Compilation
);
1904
var semanticModel = GetOrCreateSemanticModel(completedEvent.CompilationUnit, completedEvent.
Compilation
);
2586
GetOrCreateSemanticModel(decl.SyntaxTree, symbolEvent.
Compilation
);
DiagnosticAnalyzer\CompilationStartedEvent.cs (1)
33
=> new CompilationStartedEvent(
Compilation
, additionalFiles);