1 write to SemanticModelProvider
Microsoft.CodeAnalysis (1)
Compilation\Compilation.cs (1)
89this.SemanticModelProvider = semanticModelProvider;
6 references to SemanticModelProvider
Microsoft.CodeAnalysis (6)
Compilation\Compilation.cs (2)
326/// If <see cref="SemanticModelProvider"/> is non-null, it attempts to use <see cref="SemanticModelProvider.GetSemanticModel(SyntaxTree, Compilation, SemanticModelOptions)"/> 335/// it does not attempt to use the <see cref="SemanticModelProvider"/> to get a semantic model, but instead always creates a new semantic model.
Compilation\SemanticModelProvider.cs (1)
11/// This provider can be attached to a compilation, see <see cref="Compilation.SemanticModelProvider"/>.
DiagnosticAnalyzer\AnalyzerDriver.CompilationData.cs (1)
15SemanticModelProvider = (CachingSemanticModelProvider)compilation.SemanticModelProvider!;
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
471Debug.Assert(compilation.SemanticModelProvider != null);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
1189if (compilation.SemanticModelProvider == null)