Share via


Compilation.RemoveAllSyntaxTrees Method

Definition

Creates a new compilation without any syntax trees. Preserves metadata info for use with trees added later.

public:
 Microsoft::CodeAnalysis::Compilation ^ RemoveAllSyntaxTrees();
public Microsoft.CodeAnalysis.Compilation RemoveAllSyntaxTrees ();
member this.RemoveAllSyntaxTrees : unit -> Microsoft.CodeAnalysis.Compilation
Public Function RemoveAllSyntaxTrees () As Compilation

Returns

Applies to