Partager via


SymbolEditorExtensions.GetBaseOrInterfaceDeclarationReferenceAsync Méthode

Définition

Obtient la référence à la déclaration du type de base ou d’interface dans le cadre de la déclaration du symbole.

public static System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxNode> GetBaseOrInterfaceDeclarationReferenceAsync (this Microsoft.CodeAnalysis.Editing.SymbolEditor editor, Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.ITypeSymbol baseOrInterfaceType, System.Threading.CancellationToken cancellationToken = default);
static member GetBaseOrInterfaceDeclarationReferenceAsync : Microsoft.CodeAnalysis.Editing.SymbolEditor * Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.ITypeSymbol * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxNode>
<Extension()>
Public Function GetBaseOrInterfaceDeclarationReferenceAsync (editor As SymbolEditor, symbol As ISymbol, baseOrInterfaceType As ITypeSymbol, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SyntaxNode)

Paramètres

editor
SymbolEditor
symbol
ISymbol
baseOrInterfaceType
ITypeSymbol
cancellationToken
CancellationToken

Retours

S’applique à