Returns an enumerator for all nodes within the sub-tree rooted at this node with annotations. Syntax Parameters annotationType The type of annotations to find. All returned nodes will have one or more annotation of type or derived from type.span An optional span to restrict the result. The span offset is relative ...
Returns an enumerator for all nodes within the sub-tree rooted at this node with annotations. Overload List
Returns an enumerator for all annotation values of the node. Syntax Return Value An enumerator for all annotation values of the node.
Returns an enumerator for all annotation values of a specific type of the node. Syntax Parameters annotationType The type of annotations to get. All returned instances will be of type or derived from type. Return Value An enumerator for all annotation values of a specific type of the node. Exceptions Exception Des...
Returns an enumerator for all annotation values of the node. Overload List
Returns the child node at a specific index. Syntax Parameters childIndex The 0-based index of the child. Return Value The child node. Exceptions Exception Description System.ArgumentOutOfRangeException Occurs when childIndex is less than 0 or greater than or equal to the ChildCount.
Returns an enumerator for all descendant NodeDiagnostic values of the node. Syntax Parameters span An optional span to restrict the result. The span offset is relative to the beginning of the document. Return Value An enumerator for all descendant NodeDiagnostic values of the node.
Returns the first node in this nodes sub-tree which represents a Token. Syntax Return Value The first node in this nodes sub-tree that is a token node. Remarks Note: if this node is a token node then this method will return itself.
Returns the hash code of the object. Syntax Return Value A hash code for this instance
Returns the last node in this nodes sub-tree which represents a Token. Syntax Return Value The last node in this nodes sub-tree that is a token node. Remarks Note: if this node is a token node then this method will return itself.