Delen via


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);
protected abstract Microsoft.CodeAnalysis.SyntaxNode GetRootCore (System.Threading.CancellationToken cancellationToken);
abstract member GetRootCore : System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxNode
Protected MustOverride Function GetRootCore (cancellationToken As CancellationToken) As SyntaxNode

Parameters

cancellationToken
CancellationToken

Returns

Applies to