Partilhar via


SemanticModel.GetTopmostNodeForDiagnosticAnalysis(ISymbol, SyntaxNode) Método

Definição

Usa um símbolo e sintaxe para uma de suas referências de sintaxe declarantes e retorna o nó de sintaxe mais alto a ser usado pelo analisador de sintaxe.

protected public:
 virtual Microsoft::CodeAnalysis::SyntaxNode ^ GetTopmostNodeForDiagnosticAnalysis(Microsoft::CodeAnalysis::ISymbol ^ symbol, Microsoft::CodeAnalysis::SyntaxNode ^ declaringSyntax);
protected internal virtual Microsoft.CodeAnalysis.SyntaxNode GetTopmostNodeForDiagnosticAnalysis (Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.SyntaxNode declaringSyntax);
abstract member GetTopmostNodeForDiagnosticAnalysis : Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
override this.GetTopmostNodeForDiagnosticAnalysis : Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Protected Friend Overridable Function GetTopmostNodeForDiagnosticAnalysis (symbol As ISymbol, declaringSyntax As SyntaxNode) As SyntaxNode

Parâmetros

symbol
ISymbol
declaringSyntax
SyntaxNode

Retornos

Aplica-se a