SymbolExtensions.GetSemanticModel Method
GetSemanticModel(ICompilation, SyntaxTree)
Declaration
public static SemanticModel GetSemanticModel(this ICompilation compilation, SyntaxTree syntaxTree)
Parameters
Type | Name | Description |
---|---|---|
ICompilation | compilation | |
Microsoft.CodeAnalysis.SyntaxTree | syntaxTree |
Returns
Type | Description |
---|---|
Microsoft.CodeAnalysis.SemanticModel |