Udostępnij za pośrednictwem


Compilation.ContainsSyntaxTree(SyntaxTree) Method

Definition

Returns true if this compilation contains the specified tree. False otherwise.

public:
 bool ContainsSyntaxTree(Microsoft::CodeAnalysis::SyntaxTree ^ syntaxTree);
public bool ContainsSyntaxTree (Microsoft.CodeAnalysis.SyntaxTree syntaxTree);
member this.ContainsSyntaxTree : Microsoft.CodeAnalysis.SyntaxTree -> bool
Public Function ContainsSyntaxTree (syntaxTree As SyntaxTree) As Boolean

Parameters

syntaxTree
SyntaxTree

A syntax tree.

Returns

Applies to