2 overrides of CreateSemanticModel
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
2279internal override SemanticModel CreateSemanticModel(SyntaxTree syntaxTree, bool ignoreAccessibility)
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\VisualBasicCompilation.vb (1)
2043Friend Overrides Function CreateSemanticModel(syntaxTree As SyntaxTree, ignoreAccessibility As Boolean) As SemanticModel
5 references to CreateSemanticModel
Microsoft.CodeAnalysis (3)
Compilation\Compilation.cs (1)
313/// to get a semantic model. Otherwise, it creates a new semantic model using <see cref="CreateSemanticModel(SyntaxTree, bool)"/>.
DiagnosticAnalyzer\CachingSemanticModelProvider.cs (2)
63_createSemanticModel = tree => compilation.CreateSemanticModel(tree, ignoreAccessibility: false); 71: _compilation.CreateSemanticModel(tree, ignoreAccessibility: true);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
3966return _cache.GetOrAdd(tree, compilation.CreateSemanticModel(tree, ignoreAccessibility));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
1710Return _cache.GetOrAdd(tree, compilation.CreateSemanticModel(tree, ignoreAccessibility))