提交 075ec32c 编写于 作者: C CyrusNajmabadi 提交者: GitHub

Merge pull request #17967 from lellid/TryGetSyntaxTreePatch

Document.TryGetSyntaxTree can return immediately if SyntaxTree was ca…
......@@ -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.
先完成此消息的编辑!
想要评论请 注册