SyntaxFactory.IsCompleteSubmission(SyntaxTree) Method

Definition

Determines whether the given text is considered a syntactically complete submission. Throws ArgumentException if the tree was not compiled as an interactive submission.

public:
 static bool IsCompleteSubmission(Microsoft::CodeAnalysis::SyntaxTree ^ tree);
public static bool IsCompleteSubmission (Microsoft.CodeAnalysis.SyntaxTree tree);
static member IsCompleteSubmission : Microsoft.CodeAnalysis.SyntaxTree -> bool
Public Shared Function IsCompleteSubmission (tree As SyntaxTree) As Boolean

Parameters

tree
SyntaxTree

Returns

Applies to