Version

Search Results

SyntaxNode Class Members

Public Properties Public Methods

SyntaxNode Class Methods

Public Methods

SyntaxNode Class Properties

Public Properties

Ancestors Method

Gets the collection of ancestor nodes leading up from the SyntaxNode. Syntax Parameters ascendOutOfIgnoredContent True to include ancestors which own the node if it is part of structured ignored content. Return Value The collection of ancestor nodes leading up from the SyntaxNode.

AncestorsAndSelf Method

Gets the collection of the SyntaxNode and its ancestor nodes leading up from the node. Syntax Parameters ascendOutOfIgnoredContent True to include ancestors which own the node if it is part of structured ignored content. Return Value The collection of ancestor nodes leading up from the SyntaxNode.

ChildCount Property

Returns the count of child nodes (read-only). Syntax

Children(Boolean) Method

Gets the list of direct child nodes of the SyntaxNode. Syntax Parameters reverse True to get the child nodes in reverse order when enumerating the list. Return Value The list of direct child nodes of the SyntaxNode.

Children(TextSpan,Boolean) Method

Gets the list of direct child nodes of the SyntaxNode. Syntax Parameters span An optional span to restrict the result. Only child nodes intersecting with the span will be included. The span offset is relative to the beginning of the document.reverse True to get the child nodes in reverse order when enumerating the...

Children Method

Gets the list of direct child nodes of the SyntaxNode. Overload List

ContainsDiagnostics Property

Gets the value indicating whether GetDiagnostics will return any NodeDiagnostic values representing diagnostic information within the sub-tree rooted at the SyntaxNode. Syntax