Table of Contents

Method FindReferences

Namespace
Alternet.Syntax.Parsers.TypeScript
Assembly
Alternet.Syntax.Parsers.TypeScript.v9.dll

FindReferences(Point, IRangeList, bool)

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

public override int FindReferences(Point position, IRangeList references, bool allDocuments = false)

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

Returns

int

Number of found references.

FindReferences(Point)

Locates and highlights references at given position in the text.

public override void FindReferences(Point position)

Parameters

position Point

Specifies position to find declaration.

FindReferences(Point, bool)

protected virtual IRangeList FindReferences(Point position, bool allDocuments = false)

Parameters

position Point
allDocuments bool

Returns

IRangeList