Click or drag to resize

SyntaxTreeHasCompilationUnitRoot Property



Returns true if this syntax tree has a root with SyntaxKind "CompilationUnit".

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public abstract bool HasCompilationUnitRoot { get; }

Property Value

Type: Boolean
See Also