CSharpExtensions.GetReducedExtensionMethodInfo(SemanticModel, ExpressionSyntax, CancellationToken) Method
Containing Type: CSharpExtensions
Assembly: Roslynator.CSharp.dll
Returns what extension method symbol, if any, the specified expression syntax bound to.
public static Roslynator.ExtensionMethodSymbolInfo GetReducedExtensionMethodInfo(this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, System.Threading.CancellationToken cancellationToken = default)
Parameters
semanticModel SemanticModel
expression ExpressionSyntax
cancellationToken CancellationToken