Partilhar via


VisualBasicExtensions.GetSymbolInfo Método

Definição

Sobrecargas

GetSymbolInfo(SemanticModel, CrefReferenceSyntax, CancellationToken)

Obtém o SymbolInfo correspondente que contém informações semânticas para uma CrefReferenceSyntax especificada.

GetSymbolInfo(SemanticModel, OrderingSyntax, CancellationToken)

Retorna o método OrderBy/OrderByDescending/ThenBy/ThenByDescending associado OrderingSyntaxa .

GetSymbolInfo(SemanticModel, QueryClauseSyntax, CancellationToken)

Retorna informações de símbolo para uma cláusula de consulta.

GetSymbolInfo(SemanticModel, FunctionAggregationSyntax, CancellationToken)

Retorna a função de agregação associada FunctionAggregationSyntaxa .

GetSymbolInfo(SemanticModel, AttributeSyntax, CancellationToken)

Obtém o SymbolInfo correspondente que contém informações semânticas para uma Sintaxe AttributeSyx especificada.

GetSymbolInfo(SemanticModel, ExpressionRangeVariableSyntax, CancellationToken)

Retorna o método Select associado a ExpressionRangeVariableSyntax um LetClauseSyntax, ou Microsoft.CodeAnalysis.SymbolInfo.None caso contrário, se nenhum estiver.

GetSymbolInfo(SemanticModel, ExpressionSyntax, CancellationToken)

Obtém o SymbolInfo correspondente que contém informações semânticas para uma sintaxe ExpressionSyx especificada.

GetSymbolInfo(SemanticModel, CrefReferenceSyntax, CancellationToken)

Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb

Obtém o SymbolInfo correspondente que contém informações semânticas para uma CrefReferenceSyntax especificada.

public static Microsoft.CodeAnalysis.SymbolInfo GetSymbolInfo (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefReferenceSyntax crefReference, System.Threading.CancellationToken cancellationToken = default);
static member GetSymbolInfo : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefReferenceSyntax * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SymbolInfo
<Extension()>
Public Function GetSymbolInfo (semanticModel As SemanticModel, crefReference As CrefReferenceSyntax, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo

Parâmetros

semanticModel
SemanticModel
crefReference
CrefReferenceSyntax
cancellationToken
CancellationToken

Retornos

Aplica-se a

GetSymbolInfo(SemanticModel, OrderingSyntax, CancellationToken)

Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb

Retorna o método OrderBy/OrderByDescending/ThenBy/ThenByDescending associado OrderingSyntaxa .

public static Microsoft.CodeAnalysis.SymbolInfo GetSymbolInfo (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderingSyntax orderingSyntax, System.Threading.CancellationToken cancellationToken = default);
static member GetSymbolInfo : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.VisualBasic.Syntax.OrderingSyntax * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SymbolInfo
<Extension()>
Public Function GetSymbolInfo (semanticModel As SemanticModel, orderingSyntax As OrderingSyntax, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo

Parâmetros

semanticModel
SemanticModel
orderingSyntax
OrderingSyntax
cancellationToken
CancellationToken

Retornos

Aplica-se a

GetSymbolInfo(SemanticModel, QueryClauseSyntax, CancellationToken)

Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb

Retorna informações de símbolo para uma cláusula de consulta.

public static Microsoft.CodeAnalysis.SymbolInfo GetSymbolInfo (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.VisualBasic.Syntax.QueryClauseSyntax clauseSyntax, System.Threading.CancellationToken cancellationToken = default);
static member GetSymbolInfo : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.VisualBasic.Syntax.QueryClauseSyntax * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SymbolInfo
<Extension()>
Public Function GetSymbolInfo (semanticModel As SemanticModel, clauseSyntax As QueryClauseSyntax, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo

Parâmetros

semanticModel
SemanticModel
clauseSyntax
QueryClauseSyntax
cancellationToken
CancellationToken

Retornos

Comentários

Tipo de nó de sintaxeInformações do símbolo retornadas
DistinctClauseSyntax Retorna o método Distinct associado DistinctClauseSyntaxa .
WhereClauseSyntax Retorna o método Where associado WhereClauseSyntaxa .
PartitionWhileClauseSyntax Retorna o método TakeWhile/SkipWhile associado PartitionWhileClauseSyntaxa .
PartitionClauseSyntax Retorna o método Take/Skip associado PartitionClauseSyntaxa .
GroupByClauseSyntax Retorna o método GroupBy associado GroupByClauseSyntaxa .
JoinClauseSyntax Retorna o método Join/GroupJoin associado JoinClauseSyntaxa .
SelectClauseSyntax Retorna o método Select associado SelectClauseSyntaxa , ou Microsoft.CodeAnalysis.SymbolInfo.None se nenhum estiver.
FromClauseSyntax Retorna o método Select associado FromClauseSyntax, que tem apenas um CollectionRangeVariableSyntax e é a única cláusula de consulta dentro QueryExpressionSyntax. Microsoft.CodeAnalysis.SymbolInfo.None caso contrário. A chamada de método é injetada pelo compilador para garantir que a consulta seja traduzida para pelo menos uma chamada de método.
LetClauseSyntax Microsoft.CodeAnalysis.SymbolInfo.None
OrderByClauseSyntax Microsoft.CodeAnalysis.SymbolInfo.None
AggregateClauseSyntax Microsoft.CodeAnalysis.SymbolInfo.None. Use GetAggregateClauseSymbolInfo(SemanticModel, AggregateClauseSyntax, CancellationToken) em vez disso.

Aplica-se a

GetSymbolInfo(SemanticModel, FunctionAggregationSyntax, CancellationToken)

Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb

Retorna a função de agregação associada FunctionAggregationSyntaxa .

public static Microsoft.CodeAnalysis.SymbolInfo GetSymbolInfo (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.VisualBasic.Syntax.FunctionAggregationSyntax functionSyntax, System.Threading.CancellationToken cancellationToken = default);
static member GetSymbolInfo : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.VisualBasic.Syntax.FunctionAggregationSyntax * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SymbolInfo
<Extension()>
Public Function GetSymbolInfo (semanticModel As SemanticModel, functionSyntax As FunctionAggregationSyntax, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo

Parâmetros

semanticModel
SemanticModel
functionSyntax
FunctionAggregationSyntax
cancellationToken
CancellationToken

Retornos

Aplica-se a

GetSymbolInfo(SemanticModel, AttributeSyntax, CancellationToken)

Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb

Obtém o SymbolInfo correspondente que contém informações semânticas para uma Sintaxe AttributeSyx especificada.

public static Microsoft.CodeAnalysis.SymbolInfo GetSymbolInfo (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeSyntax attribute, System.Threading.CancellationToken cancellationToken = default);
static member GetSymbolInfo : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeSyntax * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SymbolInfo
<Extension()>
Public Function GetSymbolInfo (semanticModel As SemanticModel, attribute As AttributeSyntax, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo

Parâmetros

semanticModel
SemanticModel
attribute
AttributeSyntax
cancellationToken
CancellationToken

Retornos

Aplica-se a

GetSymbolInfo(SemanticModel, ExpressionRangeVariableSyntax, CancellationToken)

Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb

Retorna o método Select associado a ExpressionRangeVariableSyntax um LetClauseSyntax, ou Microsoft.CodeAnalysis.SymbolInfo.None caso contrário, se nenhum estiver.

public static Microsoft.CodeAnalysis.SymbolInfo GetSymbolInfo (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax variableSyntax, System.Threading.CancellationToken cancellationToken = default);
static member GetSymbolInfo : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SymbolInfo
<Extension()>
Public Function GetSymbolInfo (semanticModel As SemanticModel, variableSyntax As ExpressionRangeVariableSyntax, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo

Parâmetros

semanticModel
SemanticModel
cancellationToken
CancellationToken

Retornos

Aplica-se a

GetSymbolInfo(SemanticModel, ExpressionSyntax, CancellationToken)

Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb
Source:
VisualBasicExtensions.vb

Obtém o SymbolInfo correspondente que contém informações semânticas para uma sintaxe ExpressionSyx especificada.

public static Microsoft.CodeAnalysis.SymbolInfo GetSymbolInfo (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression, System.Threading.CancellationToken cancellationToken = default);
static member GetSymbolInfo : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SymbolInfo
<Extension()>
Public Function GetSymbolInfo (semanticModel As SemanticModel, expression As ExpressionSyntax, Optional cancellationToken As CancellationToken = Nothing) As SymbolInfo

Parâmetros

semanticModel
SemanticModel
expression
ExpressionSyntax
cancellationToken
CancellationToken

Retornos

Aplica-se a