提交 754e7807 编写于 作者: D Dirk Lellinger

Document.TryGetSyntaxTree can return immediately if SyntaxTree was cached

上级 05d92383
......@@ -75,6 +75,7 @@ public bool TryGetSyntaxTree(out SyntaxTree syntaxTree)
if (_syntaxTreeResultTask != null)
{
syntaxTree = _syntaxTreeResultTask.Result;
return true;
}
if (!DocumentState.TryGetSyntaxTree(out syntaxTree))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册