1 override of CreateSemanticModel
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
2561
internal override SemanticModel
CreateSemanticModel
(SyntaxTree syntaxTree, SemanticModelOptions options)
4 references to CreateSemanticModel
Microsoft.CodeAnalysis (3)
Compilation\Compilation.cs (1)
328
/// to get a semantic model. Otherwise, it creates a new semantic model using <see cref="
CreateSemanticModel
(SyntaxTree, SemanticModelOptions)"/>.
DiagnosticAnalyzer\CachingSemanticModelProvider.cs (2)
69
_createSemanticModel = tree => compilation.
CreateSemanticModel
(tree, options: default);
77
: _compilation.
CreateSemanticModel
(tree, options);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
4058
return _cache.GetOrAdd(tree, compilation.
CreateSemanticModel
(tree, options));