Delen via


SyntaxReference Class

Definition

A reference to a syntax node.

public ref class SyntaxReference abstract
public abstract class SyntaxReference
type SyntaxReference = class
Public MustInherit Class SyntaxReference
Inheritance
SyntaxReference

Constructors

SyntaxReference()

Properties

Span

The span of the node referenced.

SyntaxTree

The syntax tree that this references a node within.

Methods

GetSyntax(CancellationToken)

Retrieves the original referenced syntax node.
This action may cause a parse to happen to recover the syntax node.

GetSyntaxAsync(CancellationToken)

Retrieves the original referenced syntax node.
This action may cause a parse to happen to recover the syntax node.

Applies to