Table of Contents

Method FindImplementationsAsync

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

FindImplementationsAsync(Point, IRangeList, bool, CancellationToken)

Locates declaration at given position and finds all implementations to this declaration in the text.

public virtual Task<int> FindImplementationsAsync(Point position, IRangeList references, bool allDocuments = false, CancellationToken cancellationToken = default)

Parameters

position Point

Specifies position to find declaration.

references IRangeList

Retrieves references to found declaration.

allDocuments bool

Specifies if search needs to process all documents in the solution

cancellationToken CancellationToken

Cancellation token

Returns

Task<int>

Number of found implementations.