VisualBasicExtensions.GetSymbolInfo Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
GetSymbolInfo(SemanticModel, CrefReferenceSyntax, CancellationToken) |
Obtiene el symbolInfo correspondiente que contiene información semántica para un crefReferenceSyntax especificado. |
GetSymbolInfo(SemanticModel, OrderingSyntax, CancellationToken) |
Devuelve el método OrderBy/OrderByDescending/ThenBy/ThenByDescending asociado a OrderingSyntax. |
GetSymbolInfo(SemanticModel, QueryClauseSyntax, CancellationToken) |
Devuelve información de símbolos para una cláusula de consulta. |
GetSymbolInfo(SemanticModel, FunctionAggregationSyntax, CancellationToken) |
Devuelve la función de agregado asociada a FunctionAggregationSyntax. |
GetSymbolInfo(SemanticModel, AttributeSyntax, CancellationToken) |
Obtiene el symbolInfo correspondiente que contiene información semántica para un attributeSyntax especificado. |
GetSymbolInfo(SemanticModel, ExpressionRangeVariableSyntax, CancellationToken) |
Devuelve el método Select asociado a ExpressionRangeVariableSyntax dentro de , LetClauseSyntaxo Microsoft.CodeAnalysis.SymbolInfo.None de lo contrario, si no hay ninguno. |
GetSymbolInfo(SemanticModel, ExpressionSyntax, CancellationToken) |
Obtiene el symbolInfo correspondiente que contiene información semántica para un expressionSyntax especificado. |
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
Obtiene el symbolInfo correspondiente que contiene información semántica para un crefReferenceSyntax especificado.
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
Devoluciones
Se aplica 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
Devuelve el método OrderBy/OrderByDescending/ThenBy/ThenByDescending asociado a OrderingSyntax.
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
Devoluciones
Se aplica 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
Devuelve información de símbolos para una 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
Devoluciones
Comentarios
Tipo de nodo de sintaxis | Información de símbolos devuelta |
---|---|
DistinctClauseSyntax | Devuelve el método Distinct asociado a DistinctClauseSyntax. |
WhereClauseSyntax | Devuelve where método asociado a WhereClauseSyntax. |
PartitionWhileClauseSyntax | Devuelve el método TakeWhile/SkipWhile asociado a PartitionWhileClauseSyntax. |
PartitionClauseSyntax | Devuelve el método Take/Skip asociado a PartitionClauseSyntax. |
GroupByClauseSyntax | Devuelve el método GroupBy asociado a GroupByClauseSyntax. |
JoinClauseSyntax | Devuelve el método Join/GroupJoin asociado a JoinClauseSyntax. |
SelectClauseSyntax | Devuelve el método Select asociado a SelectClauseSyntaxo Microsoft.CodeAnalysis.SymbolInfo.None si ninguno es . |
FromClauseSyntax | Devuelve el método Select asociado a FromClauseSyntax, que solo tiene una CollectionRangeVariableSyntax y es la única cláusula de consulta dentro de QueryExpressionSyntax. En caso contrario, es Microsoft.CodeAnalysis.SymbolInfo.None. El compilador inserta la llamada al método para asegurarse de que la consulta se traduce a al menos una llamada de método. |
LetClauseSyntax | Microsoft.CodeAnalysis.SymbolInfo.None |
OrderByClauseSyntax | Microsoft.CodeAnalysis.SymbolInfo.None |
AggregateClauseSyntax | Microsoft.CodeAnalysis.SymbolInfo.None. En su lugar, use GetAggregateClauseSymbolInfo(SemanticModel, AggregateClauseSyntax, CancellationToken). |
Se aplica 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
Devuelve la función de agregado asociada a FunctionAggregationSyntax.
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
Devoluciones
Se aplica 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
Obtiene el symbolInfo correspondiente que contiene información semántica para un attributeSyntax especificado.
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
Devoluciones
Se aplica 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
Devuelve el método Select asociado a ExpressionRangeVariableSyntax dentro de , LetClauseSyntaxo Microsoft.CodeAnalysis.SymbolInfo.None de lo contrario, si no hay ninguno.
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
- variableSyntax
- ExpressionRangeVariableSyntax
- cancellationToken
- CancellationToken
Devoluciones
Se aplica 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
Obtiene el symbolInfo correspondiente que contiene información semántica para un expressionSyntax especificado.
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