Condividi tramite


CSharpExtensions.GetQueryClauseInfo Method

Definition

Gets the semantic information associated with a query clause.

public static Microsoft.CodeAnalysis.CSharp.QueryClauseInfo GetQueryClauseInfo (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.QueryClauseSyntax node, System.Threading.CancellationToken cancellationToken = default);
public static Microsoft.CodeAnalysis.CSharp.QueryClauseInfo GetQueryClauseInfo (this Microsoft.CodeAnalysis.SemanticModel? semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.QueryClauseSyntax node, System.Threading.CancellationToken cancellationToken = default);
static member GetQueryClauseInfo : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.CSharp.Syntax.QueryClauseSyntax * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.CSharp.QueryClauseInfo
<Extension()>
Public Function GetQueryClauseInfo (semanticModel As SemanticModel, node As QueryClauseSyntax, Optional cancellationToken As CancellationToken = Nothing) As QueryClauseInfo

Parameters

semanticModel
SemanticModel
cancellationToken
CancellationToken

Returns

Applies to