2 implementations of GetStorageAsync
Microsoft.CodeAnalysis.Workspaces (2)
Storage\AbstractPersistentStorageService.cs (1)
44public ValueTask<IChecksummedPersistentStorage> GetStorageAsync(SolutionKey solutionKey, CancellationToken cancellationToken)
Workspace\Host\PersistentStorage\NoOpPersistentStorageService.cs (1)
25public ValueTask<IChecksummedPersistentStorage> GetStorageAsync(SolutionKey solutionKey, CancellationToken cancellationToken)
10 references to GetStorageAsync
AnalyzerRunner (1)
IncrementalAnalyzerRunner.cs (1)
58await using var persistentStorage = await persistentStorageService.GetStorageAsync(SolutionKey.ToSolutionKey(_workspace.CurrentSolution), cancellationToken).ConfigureAwait(false);
IdeCoreBenchmarks (2)
FindReferencesBenchmarks.cs (1)
98using (var storage = await storageService.GetStorageAsync(SolutionKey.ToSolutionKey(_workspace.CurrentSolution), CancellationToken.None))
NavigateToBenchmarks.cs (1)
197using (var storage = await storageService.GetStorageAsync(SolutionKey.ToSolutionKey(_workspace.CurrentSolution), CancellationToken.None))
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Preview\PreviewWorkspaceTests.cs (1)
133await using var storage = await persistentService.GetStorageAsync(SolutionKey.ToSolutionKey(previewWorkspace.CurrentSolution), CancellationToken.None);
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Services\SemanticClassification\RemoteSemanticClassificationService.Caching.cs (2)
115var storage = await persistenceService.GetStorageAsync(SolutionKey.ToSolutionKey(solution), cancellationToken).ConfigureAwait(false); 265var storage = await persistenceService.GetStorageAsync(documentKey.Project.Solution, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (4)
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (2)
64var storage = await storageService.GetStorageAsync(documentKey.Project.Solution, cancellationToken).ConfigureAwait(false); 140var storage = await persistentStorageService.GetStorageAsync(SolutionKey.ToSolutionKey(solution), cancellationToken).ConfigureAwait(false);
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (2)
62var storage = await persistentStorageService.GetStorageAsync(solutionKey, cancellationToken).ConfigureAwait(false); 92var storage = await persistentStorageService.GetStorageAsync(solutionKey, cancellationToken).ConfigureAwait(false);