Open sandboxFocus

Method TryGetSyntaxTreeByPath

TryGetSyntaxTreeByPath(IPartialCompilation, string, out SyntaxTree?)

Declaration
public static bool TryGetSyntaxTreeByPath(this IPartialCompilation compilation, string path, out SyntaxTree? syntaxTree)
Parameters
Type Name Description
IPartialCompilation compilation
string path
SyntaxTree syntaxTree
Returns
Type Description
bool