SyntaxTree.GetRootCore(CancellationToken) Method

Definition

Gets the root node of the syntax tree, causing computation if necessary.

protected abstract Microsoft.CodeAnalysis.SyntaxNode GetRootCore (System.Threading.CancellationToken cancellationToken);

Parameters

cancellationToken
CancellationToken

Returns

Applies to