Table of Contents

Method FindReferences

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

FindReferences(Point)

When implemented by a class, locates and highlights references at given position in the text.

void FindReferences(Point position)

Parameters

position Point

Specifies position to find declaration.

FindReferences(ISyntaxNode, ISyntaxNodes)

When implemented by a class, locates all references to the node in the text.

int FindReferences(ISyntaxNode node, ISyntaxNodes references)

Parameters

node ISyntaxNode

Specifies ISyntaxNode to find references.

references ISyntaxNodes

Retrieves references to node.

Returns

int

Number of found references.

FindReferences(Point, IRangeList, bool)

When implemented by a class, locates declaration at given position and finds all references to this declaration in the text.

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.