SyntaxTree.HasCompilationUnitRoot Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if this syntax tree has a root with SyntaxKind "CompilationUnit".
public:
abstract property bool HasCompilationUnitRoot { bool get(); };
public abstract bool HasCompilationUnitRoot { get; }
member this.HasCompilationUnitRoot : bool
Public MustOverride ReadOnly Property HasCompilationUnitRoot As Boolean
Property Value
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.