提交 e2afcac6 编写于 作者: C CyrusNajmabadi

Remove uncalled method.

上级 6a3173ed
......@@ -28,26 +28,6 @@ public static async Task PrecalculateAsync(Document document, CancellationToken
Contract.Requires(document.IsFromPrimaryBranch());
await PrecalculateBasicInfoAsync(document, cancellationToken).ConfigureAwait(false);
// for now, don't put identifier locations in esent db
//// await PrecalculateAdvancedInfoAsync(document, cancellationToken).ConfigureAwait(false);
}
private static async Task PrecalculateAdvancedInfoAsync(Document document, CancellationToken cancellationToken)
{
// we do not support precalculating opened file.
if (document.IsOpen())
{
return;
}
// we already have information. move on
if (await SyntaxTreeIdentifierInfo.IdentifierSetPrecalculatedAsync(document, cancellationToken).ConfigureAwait(false))
{
return;
}
await SyntaxTreeIdentifierInfo.SaveIdentifierSetAsync(document, cancellationToken).ConfigureAwait(false);
}
private static async Task PrecalculateBasicInfoAsync(Document document, CancellationToken cancellationToken)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册