30 references to ToSolutionKey
AnalyzerRunner (1)
IncrementalAnalyzerRunner.cs (1)
58
await using var persistentStorage = await persistentStorageService.GetStorageAsync(SolutionKey.
ToSolutionKey
(_workspace.CurrentSolution), cancellationToken).ConfigureAwait(false);
IdeBenchmarks (1)
SQLitePersistentStorageBenchmark.cs (1)
70
_storage = _storageService.GetStorageWorkerAsync(SolutionKey.
ToSolutionKey
(solution), CancellationToken.None).AsTask().GetAwaiter().GetResult();
IdeCoreBenchmarks (2)
FindReferencesBenchmarks.cs (1)
98
using (var storage = await storageService.GetStorageAsync(SolutionKey.
ToSolutionKey
(_workspace.CurrentSolution), CancellationToken.None))
NavigateToBenchmarks.cs (1)
197
using (var storage = await storageService.GetStorageAsync(SolutionKey.
ToSolutionKey
(_workspace.CurrentSolution), CancellationToken.None))
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Preview\PreviewWorkspaceTests.cs (1)
133
await using var storage = await persistentService.GetStorageAsync(SolutionKey.
ToSolutionKey
(previewWorkspace.CurrentSolution), CancellationToken.None);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\SemanticClassification\RemoteSemanticClassificationService.Caching.cs (1)
115
var storage = await persistenceService.GetStorageAsync(SolutionKey.
ToSolutionKey
(solution), cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (6)
Classification\SemanticClassificationCacheUtilities.cs (1)
23
var projectKey = new ProjectKey(SolutionKey.
ToSolutionKey
(project.Solution), project.Id, project.FilePath, project.Name, Checksum.Null);
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (1)
140
var storage = await persistentStorageService.GetStorageAsync(SolutionKey.
ToSolutionKey
(solution), cancellationToken).ConfigureAwait(false);
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (2)
118
solution.Services, SolutionKey.
ToSolutionKey
(solution), reference, checksum, cancellationToken).ConfigureAwait(false);
231
SolutionKey.
ToSolutionKey
(solution),
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (2)
42
SolutionKey.
ToSolutionKey
(solution),
59
SolutionKey.
ToSolutionKey
(project.Solution),
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (18)
PersistentStorage\AbstractPersistentStorageTests.cs (18)
498
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
519
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
630
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
654
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
673
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
678
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
694
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
699
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
715
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
736
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
757
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
781
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
805
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
810
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
829
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
834
await using (var storage = await GetStorageFromKeyAsync(solution.Workspace.Services, SolutionKey.
ToSolutionKey
(solution)))
851
var location = configuration.TryGetStorageLocation(SolutionKey.
ToSolutionKey
(workspace.CurrentSolution));
1019
var storage = await _storageService.GetStorageAsync(SolutionKey.
ToSolutionKey
(solution), CancellationToken.None);