diff --git a/src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/SyntaxTreeIdentifierInfo_Set.cs b/src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/SyntaxTreeIdentifierInfo_Set.cs index 61b5336f4b7bffa2eb697f53fee9bca6ed66f8c9..90cc2df0e7b7cd6747686158e9561d87367b04bb 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