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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.