1 implementation of IChecksummedPersistentStorage
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Host\PersistentStorage\AbstractPersistentStorage.cs (1)
14internal abstract class AbstractPersistentStorage : IChecksummedPersistentStorage
19 references to IChecksummedPersistentStorage
Microsoft.CodeAnalysis.Workspaces (19)
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (1)
163var storage = await persistentStorageService.GetStorageAsync(solutionKey, cancellationToken).ConfigureAwait(false);
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (2)
62var storage = await persistentStorageService.GetStorageAsync(solutionKey, cancellationToken).ConfigureAwait(false); 91var storage = await persistentStorageService.GetStorageAsync(solutionKey, cancellationToken).ConfigureAwait(false);
Storage\AbstractPersistentStorageService.cs (6)
25private IChecksummedPersistentStorage? _currentPersistentStorage; 34protected abstract ValueTask<IChecksummedPersistentStorage?> TryOpenDatabaseAsync(SolutionKey solutionKey, string workingFolderPath, string databaseFilePath, IPersistentStorageFaultInjector? faultInjector, CancellationToken cancellationToken); 36public ValueTask<IChecksummedPersistentStorage> GetStorageAsync(SolutionKey solutionKey, CancellationToken cancellationToken) 39public async ValueTask<IChecksummedPersistentStorage> GetStorageAsync( 67private async ValueTask<IChecksummedPersistentStorage> CreatePersistentStorageAsync( 83private async ValueTask<IChecksummedPersistentStorage?> TryCreatePersistentStorageAsync(
Storage\SQLite\v2\SQLitePersistentStorageService.cs (2)
68protected override ValueTask<IChecksummedPersistentStorage?> TryOpenDatabaseAsync( 74return new((IChecksummedPersistentStorage?)null);
Workspace\Host\PersistentStorage\DocumentKey.cs (1)
13/// Handle that can be used with <see cref="IChecksummedPersistentStorage"/> to read data for a
Workspace\Host\PersistentStorage\IChecksummedPersistentStorageService.cs (1)
13ValueTask<IChecksummedPersistentStorage> GetStorageAsync(SolutionKey solutionKey, CancellationToken cancellationToken);
Workspace\Host\PersistentStorage\NoOpPersistentStorage.cs (3)
14internal sealed class NoOpPersistentStorage(SolutionKey solutionKey) : IChecksummedPersistentStorage 18public static IChecksummedPersistentStorage GetOrThrow(SolutionKey solutionKey, bool throwOnFailure) 88public static IChecksummedPersistentStorage GetStorageInstance(SolutionKey solutionKey) => new NoOpPersistentStorage(solutionKey);
Workspace\Host\PersistentStorage\NoOpPersistentStorageService.cs (1)
25public ValueTask<IChecksummedPersistentStorage> GetStorageAsync(SolutionKey solutionKey, CancellationToken cancellationToken)
Workspace\Host\PersistentStorage\ProjectKey.cs (1)
11/// Handle that can be used with <see cref="IChecksummedPersistentStorage"/> to read data for a
Workspace\Host\PersistentStorage\SolutionKey.cs (1)
11/// Handle that can be used with <see cref="IChecksummedPersistentStorage"/> to read data for a