提交 768b2cb4 编写于 作者: C CyrusNajmabadi

Remove uncalled method.

上级 655217d1
......@@ -27,26 +27,5 @@ public static bool TryGetIdentifierLocations(Document document, VersionStamp ver
return esentStorage.ReadIdentifierPositions(document, version, identifier, positions, cancellationToken);
}
}
public static async Task SaveIdentifierSetAsync(Document document, CancellationToken cancellationToken)
{
Contract.Requires(document.IsFromPrimaryBranch());
var persistentStorageService = document.Project.Solution.Workspace.Services.GetService<IPersistentStorageService>();
using (var storage = persistentStorageService.GetStorage(document.Project.Solution))
{
var esentStorage = storage as ISyntaxTreeInfoPersistentStorage;
if (esentStorage == null)
{
return;
}
var version = await document.GetSyntaxVersionAsync(cancellationToken).ConfigureAwait(false);
var root = await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
esentStorage.WriteIdentifierLocations(document, version, root, cancellationToken);
}
}
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册