SemanticModelExtensions.GetTypeSymbol(SemanticModel, SyntaxNode, CancellationToken) Method
Containing Type: SemanticModelExtensions
Assembly: Roslynator.Core.dll
Returns type information about the specified node.
public static Microsoft.CodeAnalysis.ITypeSymbol? GetTypeSymbol(this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.SyntaxNode node, System.Threading.CancellationToken cancellationToken = default)
Parameters
semanticModel SemanticModel
node SyntaxNode
cancellationToken CancellationToken