Method FindReferencesAsync
- Namespace
- Alternet.Syntax.Parsers.Roslyn.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Roslyn.v9.dll
FindReferencesAsync(ISymbol, bool, CancellationToken)
Locates all references to the symbol in the text.
public virtual Task<IEnumerable<ReferencedSymbol>> FindReferencesAsync(ISymbol symbol, bool allDocuments, CancellationToken cancellationToken)
Parameters
symbol
ISymbolSpecifies
Microsoft.CodeAnalysis.ISymbol
to find references.allDocuments
boolSpecifies if search needs to process all documents in the solution
cancellationToken
CancellationTokenCancellation token
Returns
- Task<IEnumerable<ReferencedSymbol>>
References to node.