Table of Contents

Method GetPosition

Namespace
Alternet.Editor.Roslyn
Assembly
Alternet.Editor.Roslyn.v10.dll

GetPosition(object, object, out Point)

Finds position in source code related to the specified syntax element.

public static bool GetPosition(object node, object document, out Point point)

Parameters

node object

Syntax element (class or method) to probe.

document object

Source code document.

point Point

Receives start point of given syntax element.

Returns

bool

True if succeed; otherwise false.