SymbolEditorExtensions.GetBaseOrInterfaceDeclarationReferenceAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the reference to the declaration of the base or interface type as part of the symbol's declaration.
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)
Parameters
- editor
- SymbolEditor
- symbol
- ISymbol
- baseOrInterfaceType
- ITypeSymbol
- cancellationToken
- CancellationToken
Returns
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.