Table of Contents

Method FindDeclaration

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

FindDeclaration(string, Point)

Finds the declaration node at given position.

public override object FindDeclaration(string text, Point position)

Parameters

text string

Contains string used to perform search.

position Point

Specifies position to find node.

Returns

object

Microsoft.CodeAnalysis.ISymbol node representing declaration.

FindDeclaration(Point)

Finds the declaration node at given position.

public override SymbolLocation FindDeclaration(Point position)

Parameters

position Point

Specifies position to find node.

Returns

SymbolLocation