From 768b2cb43984f214c25ccac75e62626eb9a25a04 Mon Sep 17 00:00:00 2001 From: CyrusNajmabadi Date: Fri, 18 Nov 2016 14:28:41 -0800 Subject: [PATCH] Remove uncalled method. --- .../SyntaxTreeIdentifierInfo_Set.cs | 23 +------------------ 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/SyntaxTreeIdentifierInfo_Set.cs b/src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/SyntaxTreeIdentifierInfo_Set.cs index 61b5336f4b7..90cc2df0e7b 100644 --- a/src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/SyntaxTreeIdentifierInfo_Set.cs +++ b/src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/SyntaxTreeIdentifierInfo_Set.cs @@ -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(); - - 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 -- GitLab