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