Location.SourceTree 属性

定义

此位置位于语法树中或不 null 位于语法树中的语法树中。

public:
 virtual property Microsoft::CodeAnalysis::SyntaxTree ^ SourceTree { Microsoft::CodeAnalysis::SyntaxTree ^ get(); };
public virtual Microsoft.CodeAnalysis.SyntaxTree SourceTree { get; }
public virtual Microsoft.CodeAnalysis.SyntaxTree? SourceTree { get; }
member this.SourceTree : Microsoft.CodeAnalysis.SyntaxTree
Public Overridable ReadOnly Property SourceTree As SyntaxTree

属性值

适用于