4 references to GetSemanticModel
Microsoft.CodeAnalysis (2)
Compilation\Compilation.cs (1)
317=> GetSemanticModel(syntaxTree, ignoreAccessibility ? SemanticModelOptions.IgnoreAccessibility : SemanticModelOptions.None);
Compilation\SemanticModel.cs (1)
18/// an instance is obtained by a call to <see cref="Compilation.GetSemanticModel(SyntaxTree, SemanticModelOptions)"/>.
Microsoft.CodeAnalysis.Workspaces (2)
ReassignedVariable\AbstractReassignedVariableService.cs (1)
95model = compilation.GetSemanticModel(syntaxTree, SemanticModelOptions.DisableNullableAnalysis);
Workspace\Solution\Document.cs (1)
355var result = compilation.GetSemanticModel(syntaxTree, disableNullableAnalysis ? SemanticModelOptions.DisableNullableAnalysis : SemanticModelOptions.None);